allow analyzer version 3.0.0 (#1079)

* allow analyzer version 3.0.0

* remove override

* tiny bump

Co-authored-by: Kevin Moore <kevmoo@google.com>
diff --git a/CHANGELOG.md b/CHANGELOG.md
index b0d2ace..7020d83 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,4 +1,5 @@
 # 2.2.1-dev
+
 * Require `package:analyzer` version `2.6.0`.
 * Use `NamedType` instead of `TypeName`.
 
@@ -82,7 +83,7 @@
 
 * Change the path used in error messages when reading from stdin from "<stdin>"
   to "stdin". The former crashes on Windows since it is not a valid Windows
-  pathname. To get the old behavior, pass `--stdin-name=<stdin>`.  
+  pathname. To get the old behavior, pass `--stdin-name=<stdin>`.
 
 # 1.3.5
 
diff --git a/pubspec.lock b/pubspec.lock
index 8f829a1..eabda40 100644
--- a/pubspec.lock
+++ b/pubspec.lock
@@ -7,14 +7,14 @@
       name: _fe_analyzer_shared
       url: "https://pub.dartlang.org"
     source: hosted
-    version: "29.0.0"
+    version: "32.0.0"
   analyzer:
     dependency: "direct main"
     description:
       name: analyzer
       url: "https://pub.dartlang.org"
     source: hosted
-    version: "2.6.0"
+    version: "3.0.0"
   args:
     dependency: "direct main"
     description:
@@ -49,7 +49,7 @@
       name: cli_util
       url: "https://pub.dartlang.org"
     source: hosted
-    version: "0.3.3"
+    version: "0.3.5"
   collection:
     dependency: transitive
     description:
@@ -98,7 +98,7 @@
       name: glob
       url: "https://pub.dartlang.org"
     source: hosted
-    version: "2.0.1"
+    version: "2.0.2"
   grinder:
     dependency: "direct dev"
     description:
@@ -168,7 +168,7 @@
       name: mime
       url: "https://pub.dartlang.org"
     source: hosted
-    version: "1.0.0"
+    version: "1.0.1"
   node_preamble:
     dependency: transitive
     description:
@@ -190,13 +190,6 @@
       url: "https://pub.dartlang.org"
     source: hosted
     version: "1.8.0"
-  pedantic:
-    dependency: transitive
-    description:
-      name: pedantic
-      url: "https://pub.dartlang.org"
-    source: hosted
-    version: "1.11.1"
   pool:
     dependency: transitive
     description:
@@ -294,21 +287,21 @@
       name: test
       url: "https://pub.dartlang.org"
     source: hosted
-    version: "1.17.12"
+    version: "1.20.0"
   test_api:
     dependency: transitive
     description:
       name: test_api
       url: "https://pub.dartlang.org"
     source: hosted
-    version: "0.4.3"
+    version: "0.4.9"
   test_core:
     dependency: transitive
     description:
       name: test_core
       url: "https://pub.dartlang.org"
     source: hosted
-    version: "0.4.2"
+    version: "0.4.10"
   test_descriptor:
     dependency: "direct dev"
     description:
@@ -336,14 +329,14 @@
       name: vm_service
       url: "https://pub.dartlang.org"
     source: hosted
-    version: "7.3.0"
+    version: "7.5.0"
   watcher:
     dependency: transitive
     description:
       name: watcher
       url: "https://pub.dartlang.org"
     source: hosted
-    version: "1.0.0"
+    version: "1.0.1"
   web_socket_channel:
     dependency: transitive
     description:
diff --git a/pubspec.yaml b/pubspec.yaml
index 035c006..9ef827c 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -5,15 +5,14 @@
   Opinionated, automatic Dart source code formatter.
   Provides an API and a CLI tool.
 repository: https://github.com/dart-lang/dart_style
-
 environment:
-  sdk: '>=2.12.0-0 <3.0.0'
+  sdk: ">=2.12.0-0 <3.0.0"
 
 dependencies:
-  analyzer: '>=2.6.0 <3.0.0'
-  args: '>=1.0.0 <3.0.0'
+  analyzer: ">=2.6.0 <4.0.0"
+  args: ">=1.0.0 <3.0.0"
   path: ^1.0.0
-  pub_semver: '>=1.4.4 <3.0.0'
+  pub_semver: ">=1.4.4 <3.0.0"
   source_span: ^1.4.0
 
 dev_dependencies:
@@ -26,7 +25,7 @@
   test: ^1.16.8
   test_descriptor: ^2.0.0
   test_process: ^2.0.0
-  yaml: '>=2.0.0 <4.0.0'
+  yaml: ">=2.0.0 <4.0.0"
 
 executables:
   dartfmt: format