mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Upgrade flutter_lints in project template pubspec.yaml files (#172400)
The version of flutter_lints used by newly created projects should match the version used by flutter_tools. This ensures that "pub get --offline" will work on a project that was generated by "flutter create". Also restore the Mac tool_tests_commands that were temporarily disabled in https://github.com/flutter/flutter/pull/172388 Fixes https://github.com/flutter/flutter/issues/172375
This commit is contained in:
parent
7b99061e06
commit
99b69feaca
2
.ci.yaml
2
.ci.yaml
@ -4668,7 +4668,6 @@ targets:
|
||||
- DEPS
|
||||
|
||||
- name: Mac_x64 tool_tests_commands
|
||||
bringup: true # https://github.com/flutter/flutter/issues/172375
|
||||
recipe: flutter/flutter_drone
|
||||
timeout: 60
|
||||
properties:
|
||||
@ -4684,7 +4683,6 @@ targets:
|
||||
["framework", "hostonly", "shard", "mac"]
|
||||
|
||||
- name: Mac_arm64 tool_tests_commands
|
||||
bringup: true # https://github.com/flutter/flutter/issues/172375
|
||||
recipe: flutter/flutter_drone
|
||||
timeout: 60
|
||||
properties:
|
||||
|
||||
@ -14,7 +14,7 @@ dependencies:
|
||||
dev_dependencies:
|
||||
flutter_test:
|
||||
sdk: flutter
|
||||
flutter_lints: ^5.0.0
|
||||
flutter_lints: ^6.0.0
|
||||
|
||||
flutter:
|
||||
uses-material-design: true
|
||||
@ -80,7 +80,7 @@ dev_dependencies:
|
||||
# activated in the `analysis_options.yaml` file located at the root of your
|
||||
# package. See that file for information about deactivating specific lint
|
||||
# rules and activating additional ones.
|
||||
flutter_lints: ^5.0.0
|
||||
flutter_lints: ^6.0.0
|
||||
|
||||
# For information on the generic Dart part of this file, see the
|
||||
# following page: https://dart.dev/tools/pub/pubspec
|
||||
|
||||
@ -31,7 +31,7 @@ dependencies:
|
||||
dev_dependencies:
|
||||
flutter_test:
|
||||
sdk: flutter
|
||||
flutter_lints: ^5.0.0
|
||||
flutter_lints: ^6.0.0
|
||||
|
||||
# For information on the generic Dart part of this file, see the
|
||||
# following page: https://dart.dev/tools/pub/pubspec
|
||||
|
||||
@ -14,7 +14,7 @@ dependencies:
|
||||
dev_dependencies:
|
||||
flutter_test:
|
||||
sdk: flutter
|
||||
flutter_lints: ^5.0.0
|
||||
flutter_lints: ^6.0.0
|
||||
|
||||
# For information on the generic Dart part of this file, see the
|
||||
# following page: https://dart.dev/tools/pub/pubspec
|
||||
|
||||
@ -14,5 +14,5 @@ dependencies:
|
||||
dev_dependencies:
|
||||
ffi: ^2.1.3
|
||||
ffigen: ^13.0.0
|
||||
flutter_lints: ^5.0.0
|
||||
flutter_lints: ^6.0.0
|
||||
test: ^1.25.8
|
||||
|
||||
@ -24,7 +24,7 @@ dev_dependencies:
|
||||
{{/withFfi}}
|
||||
flutter_test:
|
||||
sdk: flutter
|
||||
flutter_lints: ^5.0.0
|
||||
flutter_lints: ^6.0.0
|
||||
|
||||
# For information on the generic Dart part of this file, see the
|
||||
# following page: https://dart.dev/tools/pub/pubspec
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user