Remove dartlang.org links (#2030)

diff --git a/doc/WritingLints.MD b/doc/WritingLints.MD
index 55545ae..9f614d8 100644
--- a/doc/WritingLints.MD
+++ b/doc/WritingLints.MD
@@ -79,7 +79,7 @@
 
 ### Dart Language Specification
 
-When writing lints, it can be useful to have the [Dart Language Specification](https://www.dartlang.org/guides/language/spec) handy.  If you're working to support bleeding edge language features, you'll want the [latest draft](https://spec.dart.dev/DartLangSpecDraft.pdf). 
+When writing lints, it can be useful to have the [Dart Language Specification](https://dart.dev/guides/language/spec) handy.  If you're working to support bleeding edge language features, you'll want the [latest draft](https://spec.dart.dev/DartLangSpecDraft.pdf). 
 
 ### Writing Tests that Depend on Dart SDK Details
 
diff --git a/lib/src/rules/comment_references.dart b/lib/src/rules/comment_references.dart
index fa3d937..1e9aee3 100644
--- a/lib/src/rules/comment_references.dart
+++ b/lib/src/rules/comment_references.dart
@@ -14,7 +14,7 @@
 **DO** reference only in scope identifiers in doc comments.
 
 If you surround things like variable, method, or type names in square brackets,
-then [dartdoc](https://www.dartlang.org/effective-dart/documentation/) will look
+then [dartdoc](https://dart.dev/guides/language/effective-dart/documentation) will look
 up the name and link to its docs.  For this all to work, ensure that all
 identifiers in docs wrapped in brackets are in scope.
 
diff --git a/lib/src/rules/pub/package_names.dart b/lib/src/rules/pub/package_names.dart
index 2babe69..9244413 100644
--- a/lib/src/rules/pub/package_names.dart
+++ b/lib/src/rules/pub/package_names.dart
@@ -9,7 +9,7 @@
 
 const _details = r'''
 
-From the [Pubspec format description](https://www.dartlang.org/tools/pub/pubspec.html):
+From the [Pubspec format description](https://dart.dev/tools/pub/pubspec):
 
 **DO** use `lowercase_with_underscores` for package names.
 
diff --git a/lib/src/rules/use_to_and_as_if_applicable.dart b/lib/src/rules/use_to_and_as_if_applicable.dart
index fdd454d..ef39126 100644
--- a/lib/src/rules/use_to_and_as_if_applicable.dart
+++ b/lib/src/rules/use_to_and_as_if_applicable.dart
@@ -13,7 +13,7 @@
 
 const _details = r'''
 
-From the [design guide](https://www.dartlang.org/guides/language/effective-dart/design):
+From the [design guide](https://dart.dev/guides/language/effective-dart/design):
 
 **PREFER** naming a method to___() if it copies the object's state to a new object.
 
diff --git a/test/engine_test.dart b/test/engine_test.dart
index 9013b64..8028b7c 100644
--- a/test/engine_test.dart
+++ b/test/engine_test.dart
@@ -154,13 +154,13 @@
     group('dtos', () {
       group('hyperlink', () {
         test('html', () {
-          final link = Hyperlink('dart', 'http://dartlang.org');
-          expect(link.html, '<a href="http://dartlang.org">dart</a>');
+          final link = Hyperlink('dart', 'http://dart.dev');
+          expect(link.html, '<a href="http://dart.dev">dart</a>');
         });
         test('html - strong', () {
-          final link = Hyperlink('dart', 'http://dartlang.org', bold: true);
-          expect(link.html,
-              '<a href="http://dartlang.org"><strong>dart</strong></a>');
+          final link = Hyperlink('dart', 'http://dart.dev', bold: true);
+          expect(
+              link.html, '<a href="http://dart.dev"><strong>dart</strong></a>');
         });
       });
 
diff --git a/test/rules/lines_longer_than_80_chars.dart b/test/rules/lines_longer_than_80_chars.dart
index 8e7e421..8a699c8 100644
--- a/test/rules/lines_longer_than_80_chars.dart
+++ b/test/rules/lines_longer_than_80_chars.dart
@@ -13,13 +13,13 @@
     'This line is a long, very long, very very long, very very very long, very very very very long'; // LINT
 
 var uriIsOk =
-    'https://www.dartlang.org/guides/language/effective-dart/style#avoid-lines-longer-than-80-characters'; // OK
+    'https://dart.dev/guides/language/effective-dart/style#avoid-lines-longer-than-80-characters'; // OK
 
 var posixPathIsOk =
-    '/home/www.dartlang.org/guides/language/effective-dart/style#avoid-lines-longer-than-80-characters'; // OK
+    '/home/dart.dev/guides/language/effective-dart/style#avoid-lines-longer-than-80-characters'; // OK
 
 var windowsPathIsOk =
-    r'C:\home\www.dartlang.org\guides\language\effective-dart\style\avoid-lines-longer-than-80-characters'; // OK
+    r'C:\home\dart.dev\guides\language\effective-dart\style\avoid-lines-longer-than-80-characters'; // OK
 
 var multilinesOK = '''
 This line is a long, very long, very very long, very very very long, very very very very long
@@ -28,4 +28,4 @@
 var interpolated = 'this $uriIsOk that';
 
 var line80EndingWithCRLF =
-    '                                                                   '; // OK

+    '                                                                   '; // OK
diff --git a/tool/bot/version_check.dart b/tool/bot/version_check.dart
index 2e6c254..07e6bcd 100644
--- a/tool/bot/version_check.dart
+++ b/tool/bot/version_check.dart
@@ -11,7 +11,7 @@
   print('Getting latest linter package info from pub...');
 
   final packageInfo =
-      jsonDecode(await getBody('https://pub.dartlang.org/api/packages/linter'));
+      jsonDecode(await getBody('https://pub.dev/api/packages/linter'));
   final latestVersion = packageInfo['latest']['pubspec']['version'];
   print('Found: $latestVersion.');
   print('Checking for a git release tag corresponding to $latestVersion...');