Prepare to release v7.0.0 (dart-lang/markdown#509)

...and other cleanup
diff --git a/pkgs/markdown/CHANGELOG.md b/pkgs/markdown/CHANGELOG.md
index 4deb4ea..d9c3b6e 100644
--- a/pkgs/markdown/CHANGELOG.md
+++ b/pkgs/markdown/CHANGELOG.md
@@ -1,4 +1,4 @@
-## 7.0.0-dev
+## 7.0.0
 
 * **Breaking change**: `close()` of `DelimiterSyntax` and `LinkSyntax`
   returns multiple nodes instead of single one.
diff --git a/pkgs/markdown/analysis_options.yaml b/pkgs/markdown/analysis_options.yaml
index b6a1426..2fcba90 100644
--- a/pkgs/markdown/analysis_options.yaml
+++ b/pkgs/markdown/analysis_options.yaml
@@ -6,14 +6,12 @@
     strict-casts: true
     strict-inference: true
     strict-raw-types: true
+
   errors:
-    dead_code: error
-    unused_element: error
-    unused_import: error
-    unused_local_variable: error
     # The example app explicitly takes a String of user-generated HTML and
     # inserts it straight into a <div> using innerHtml.
     unsafe_html: ignore
+
 linter:
   rules:
     # https://github.com/dart-lang/linter/issues/574
diff --git a/pkgs/markdown/lib/src/version.dart b/pkgs/markdown/lib/src/version.dart
index 0c814be..5b1d626 100644
--- a/pkgs/markdown/lib/src/version.dart
+++ b/pkgs/markdown/lib/src/version.dart
@@ -1,2 +1,2 @@
 // Generated code. Do not modify.
-const packageVersion = '7.0.0-dev';
+const packageVersion = '7.0.0';
diff --git a/pkgs/markdown/pubspec.yaml b/pkgs/markdown/pubspec.yaml
index 9145fe4..2cfc387 100644
--- a/pkgs/markdown/pubspec.yaml
+++ b/pkgs/markdown/pubspec.yaml
@@ -1,8 +1,8 @@
 name: markdown
-version: 7.0.0-dev
+version: 7.0.0
 
-description: A portable Markdown library written in Dart that can parse
- Markdown into HTML.
+description: >-
+  A portable Markdown library written in Dart that can parse Markdown into HTML.
 repository: https://github.com/dart-lang/markdown
 
 executables:
@@ -18,7 +18,7 @@
 dev_dependencies:
   build_runner: ^2.0.5
   build_version: ^2.0.3
-  build_web_compilers: ^3.0.0
+  build_web_compilers: '>=3.0.0 <5.0.0'
   collection: ^1.15.0
   html: ^0.15.0
   http: ^0.13.5
diff --git a/pkgs/markdown/tool/dartdoc_compare.dart b/pkgs/markdown/tool/dartdoc_compare.dart
index 37be7fb..05e3fd7 100644
--- a/pkgs/markdown/tool/dartdoc_compare.dart
+++ b/pkgs/markdown/tool/dartdoc_compare.dart
@@ -2,7 +2,7 @@
 // for details. All rights reserved. Use of this source code is governed by a
 // BSD-style license that can be found in the LICENSE file.
 
-import 'dart:convert' show jsonEncode, jsonDecode;
+import 'dart:convert' show jsonDecode, jsonEncode;
 import 'dart:io' show Directory, File, Platform, Process, exitCode;
 
 import 'package:args/args.dart' show ArgParser;
diff --git a/pkgs/markdown/tool/stats_lib.dart b/pkgs/markdown/tool/stats_lib.dart
index a747216..d88946f 100644
--- a/pkgs/markdown/tool/stats_lib.dart
+++ b/pkgs/markdown/tool/stats_lib.dart
@@ -10,12 +10,12 @@
 import 'package:html/parser.dart' show parseFragment;
 import 'package:markdown/markdown.dart'
     show
-        markdownToHtml,
-        InlineSyntax,
-        BlockSyntax,
         AutolinkExtensionSyntax,
+        BlockSyntax,
+        InlineSyntax,
         StrikethroughSyntax,
-        TableSyntax;
+        TableSyntax,
+        markdownToHtml;
 import 'package:path/path.dart' as p;
 
 import '../test/util.dart';
diff --git a/pkgs/markdown/tool/update_github_emojis.dart b/pkgs/markdown/tool/update_github_emojis.dart
index d5af661..ea429d3 100644
--- a/pkgs/markdown/tool/update_github_emojis.dart
+++ b/pkgs/markdown/tool/update_github_emojis.dart
@@ -10,10 +10,6 @@
 
 import 'update_shared.dart';
 
-/// Regular expression to match GitHub emoji API output filenames.
-RegExp gitHubEmojiApiPattern =
-    RegExp(r'^[\ \t]+"(.*?)".*unicode\/([A-Fa-f0-9\-]+)\.png');
-
 /// Regular expression to parse unicode from GitHub emoji API output filenames.
 RegExp gitHubEmojiUnicodeFromFilenamePattern =
     RegExp(r'.*unicode\/([A-Fa-f0-9\-]+)\.png');
@@ -36,7 +32,7 @@
 /// during the reconciliation process with the legacy emoji.
 /// This array is ONLY USED when the --useGitHubUnicodes option is used to
 /// minimize the visual differences in the output emoji.
-const legacyEmojisUsedVariationModifier = [
+const legacyEmojisUsedVariationModifier = {
   '263a',
   '2600',
   '2601',
@@ -98,7 +94,7 @@
   '2663',
   '2665',
   '2666',
-];
+};
 
 /// Special replacement character '�'
 const errorSpecialReplacement = '\u{FFFD}';