[linter] Change linter pubspec.yaml to obey rules for internal packages
These rules are checked by tools/package_deps/bin/package_deps.dart.
Bug: https://github.com/dart-lang/linter/issues/4411
Change-Id: I394cac48793ff0c96ff897b0a72bd967af683f38
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/322400
Reviewed-by: Jonas Termansen <sortie@google.com>
diff --git a/pkg/linter/pubspec.yaml b/pkg/linter/pubspec.yaml
index 3a1385f..435c3c2 100644
--- a/pkg/linter/pubspec.yaml
+++ b/pkg/linter/pubspec.yaml
@@ -9,22 +9,23 @@
environment:
sdk: ^3.0.0
+# Use 'any' constraints here; we get our versions from the DEPS file.
dependencies:
- analyzer: ^6.2.0
- args: ^2.1.0
- collection: ^1.15.0
- http: ">=0.13.0 <2.0.0"
- meta: ^1.3.0
- path: ^1.8.0
- pub_semver: ^2.0.0
- source_span: ^1.8.0
- yaml: ^3.0.0
+ analyzer: any
+ args: any
+ collection: any
+ http: any
+ meta: any
+ path: any
+ pub_semver: any
+ source_span: any
+ yaml: any
+# Use 'any' constraints here; we get our versions from the DEPS file.
dev_dependencies:
- benchmark_harness: ^2.0.0
- cli_util: ^0.4.0
- lints: ^2.0.0
- markdown: ^7.0.0
- matcher: ^0.12.10
- test: ^1.16.1
- test_reflective_loader: ^0.2.0
+ cli_util: any
+ fixnum: any
+ flutter: any
+ lints: any
+ test: any
+ test_reflective_loader: any