Organizes all of the directives - removes unused imports and sorts
directives of the given Dart file according to the
- Dart Style
+ Dart Style
Guide.
diff --git a/pkg/analyzer/README.md b/pkg/analyzer/README.md
index fb43fa4e944..590e1acd4d6 100644
--- a/pkg/analyzer/README.md
+++ b/pkg/analyzer/README.md
@@ -105,4 +105,4 @@ See the [LICENSE] file.
[dartfmt]: https://github.com/dart-lang/dart_style
[dartdoc]: https://github.com/dart-lang/dartdoc
[analysis_sever]: https://github.com/dart-lang/sdk/tree/master/pkg/analysis_server
-[custom_analysis]: https://www.dartlang.org/guides/language/analysis-options
+[custom_analysis]: https://dart.dev/guides/language/analysis-options
diff --git a/pkg/analyzer/lib/src/generated/error_verifier.dart b/pkg/analyzer/lib/src/generated/error_verifier.dart
index 5611362c7ff..c0fb58e45d0 100644
--- a/pkg/analyzer/lib/src/generated/error_verifier.dart
+++ b/pkg/analyzer/lib/src/generated/error_verifier.dart
@@ -5025,7 +5025,7 @@ class ErrorVerifier extends RecursiveAstVisitor {
/// a method annotated with `@mustCallSuper` is implicitly annotated with
/// `@mustCallSuper`.
///
- /// [1] https://pub.dartlang.org/documentation/meta/latest/meta/mustCallSuper-constant.html
+ /// [1] https://pub.dev/documentation/meta/latest/meta/mustCallSuper-constant.html
MethodElement _findOverriddenMemberThatMustCallSuper(MethodDeclaration node) {
Element member = node.declaredElement;
if (member.enclosingElement is! ClassElement) {
diff --git a/pkg/analyzer/lib/src/lint/project.dart b/pkg/analyzer/lib/src/lint/project.dart
index 4b4f1ae2ef6..fef8932460e 100644
--- a/pkg/analyzer/lib/src/lint/project.dart
+++ b/pkg/analyzer/lib/src/lint/project.dart
@@ -30,7 +30,7 @@ Pubspec _findAndParsePubspec(Directory root) {
/// A semantic representation of a Dart project.
///
/// Projects provide a semantic model of a Dart project based on the
-/// [pub package layout conventions](https://www.dartlang.org/tools/pub/package-layout.html).
+/// [pub package layout conventions](https://dart.dev/tools/pub/package-layout).
/// This model allows clients to traverse project contents in a convenient and
/// standardized way, access global information (such as whether elements are
/// in the "public API") and resources that have special meanings in the
diff --git a/pkg/analyzer_cli/README.md b/pkg/analyzer_cli/README.md
index 19054e35433..7329e438626 100644
--- a/pkg/analyzer_cli/README.md
+++ b/pkg/analyzer_cli/README.md
@@ -2,7 +2,7 @@
Use _dartanalyzer_ to statically analyze your code at the command line,
checking for errors and warnings that are specified in the
-[Dart Language Specification](https://www.dartlang.org/docs/spec/).
+[Dart Language Specification](https://dart.dev/guides/language/spec).
DartPad, code editors, and IDEs such as Android Studio and VS Code
use the same analysis engine that dartanalyzer uses.
diff --git a/pkg/analyzer_cli/lib/src/options.dart b/pkg/analyzer_cli/lib/src/options.dart
index 27bf56ddb79..2d60cd0f701 100644
--- a/pkg/analyzer_cli/lib/src/options.dart
+++ b/pkg/analyzer_cli/lib/src/options.dart
@@ -581,6 +581,6 @@ class CommandLineOptions {
errorSink.writeln('');
errorSink.writeln('''
Run "dartanalyzer -h -v" for verbose help output, including less commonly used options.
-For more information, see https://www.dartlang.org/tools/analyzer.\n''');
+For more information, see https://dart.dev/tools/dartanalyzer.\n''');
}
}