Skip to content

Commit b094660

Browse files
jason-simmonsazatech
authored andcommitted
Upgrade flutter_lints in project template pubspec.yaml files (flutter#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 flutter#172388 Fixes flutter#172375
1 parent 31b8823 commit b094660

File tree

6 files changed

+6
-8
lines changed

6 files changed

+6
-8
lines changed

.ci.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4668,7 +4668,6 @@ targets:
46684668
- DEPS
46694669

46704670
- name: Mac_x64 tool_tests_commands
4671-
bringup: true # https://github.com/flutter/flutter/issues/172375
46724671
recipe: flutter/flutter_drone
46734672
timeout: 60
46744673
properties:
@@ -4684,7 +4683,6 @@ targets:
46844683
["framework", "hostonly", "shard", "mac"]
46854684
46864685
- name: Mac_arm64 tool_tests_commands
4687-
bringup: true # https://github.com/flutter/flutter/issues/172375
46884686
recipe: flutter/flutter_drone
46894687
timeout: 60
46904688
properties:

packages/flutter_tools/templates/app/pubspec.yaml.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ dependencies:
1414
dev_dependencies:
1515
flutter_test:
1616
sdk: flutter
17-
flutter_lints: ^5.0.0
17+
flutter_lints: ^6.0.0
1818

1919
flutter:
2020
uses-material-design: true
@@ -80,7 +80,7 @@ dev_dependencies:
8080
# activated in the `analysis_options.yaml` file located at the root of your
8181
# package. See that file for information about deactivating specific lint
8282
# rules and activating additional ones.
83-
flutter_lints: ^5.0.0
83+
flutter_lints: ^6.0.0
8484

8585
# For information on the generic Dart part of this file, see the
8686
# following page: https://dart.dev/tools/pub/pubspec

packages/flutter_tools/templates/module/common/pubspec.yaml.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ dependencies:
3131
dev_dependencies:
3232
flutter_test:
3333
sdk: flutter
34-
flutter_lints: ^5.0.0
34+
flutter_lints: ^6.0.0
3535

3636
# For information on the generic Dart part of this file, see the
3737
# following page: https://dart.dev/tools/pub/pubspec

packages/flutter_tools/templates/package/pubspec.yaml.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ dependencies:
1414
dev_dependencies:
1515
flutter_test:
1616
sdk: flutter
17-
flutter_lints: ^5.0.0
17+
flutter_lints: ^6.0.0
1818

1919
# For information on the generic Dart part of this file, see the
2020
# following page: https://dart.dev/tools/pub/pubspec

packages/flutter_tools/templates/package_ffi/pubspec.yaml.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ dependencies:
1414
dev_dependencies:
1515
ffi: ^2.1.3
1616
ffigen: ^13.0.0
17-
flutter_lints: ^5.0.0
17+
flutter_lints: ^6.0.0
1818
test: ^1.25.8

packages/flutter_tools/templates/plugin_shared/pubspec.yaml.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ dev_dependencies:
2424
{{/withFfi}}
2525
flutter_test:
2626
sdk: flutter
27-
flutter_lints: ^5.0.0
27+
flutter_lints: ^6.0.0
2828

2929
# For information on the generic Dart part of this file, see the
3030
# following page: https://dart.dev/tools/pub/pubspec

0 commit comments

Comments
 (0)