Skip to content

Commit ad9da15

Browse files
authored
add 'unnecessary_library_name' to package:dart_flutter_team_lints (#252)
* add 'unnecessary_library_name' to package:dart_flutter_team_lints * require dart 3.4 * update package:dart_flutter_team_lints deps * remove the local pubspec_overrides.yaml files
1 parent 5890417 commit ad9da15

File tree

11 files changed

+86
-58
lines changed

11 files changed

+86
-58
lines changed

.github/workflows/dart.yml

Lines changed: 72 additions & 41 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkgs/blast_repo/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ dependencies:
2020
yaml_edit: ^2.1.0
2121

2222
dev_dependencies:
23-
dart_flutter_team_lints: ^2.0.0
23+
dart_flutter_team_lints: ^3.0.0
2424
test: ^1.22.0
2525
test_descriptor: ^2.0.0
2626

pkgs/corpus/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ dependencies:
1818

1919
dev_dependencies:
2020
checks: ^0.3.0
21-
dart_flutter_team_lints: ^2.0.0
21+
dart_flutter_team_lints: ^3.0.0
2222
test: ^1.22.0
2323
test_descriptor: ^2.0.0

pkgs/corpus/pubspec_overrides.yaml

Lines changed: 0 additions & 3 deletions
This file was deleted.

pkgs/dart_flutter_team_lints/CHANGELOG.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
1+
## 3.1.0
2+
3+
- Added `unnecessary_library_name`.
4+
- Require Dart `3.4`.
5+
16
## 3.0.0
27

3-
- Depend on the `4.0.0` release of `package:lints` adding
4-
the `no_wildcard_variable_uses` lint.
8+
- Depend on the `4.0.0` release of `package:lints`, adding the
9+
`no_wildcard_variable_uses` lint.
510
- Require Dart `3.1.0` or later.
611

712
## 2.1.1

pkgs/dart_flutter_team_lints/lib/analysis_options.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ linter:
3434
- sort_pub_dependencies
3535
- unnecessary_lambdas
3636
- unnecessary_library_directive
37+
- unnecessary_library_name
3738
- unnecessary_parenthesis
3839
- unnecessary_statements
3940
- use_is_even_rather_than_modulo

pkgs/dart_flutter_team_lints/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
name: dart_flutter_team_lints
22
description: An analysis rule set used by the Dart and Flutter teams.
3-
version: 3.0.0
3+
version: 3.1.0
44
repository: https://github.com/dart-lang/ecosystem/tree/main/pkgs/dart_flutter_team_lints
55

66
environment:
7-
sdk: ^3.1.0
7+
sdk: ^3.4.0
88

99
dependencies:
1010
lints: ^4.0.0

pkgs/firehose/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@ dependencies:
2222
yaml: ^3.1.0
2323

2424
dev_dependencies:
25-
dart_flutter_team_lints: ^2.0.0
25+
dart_flutter_team_lints: ^3.0.0
2626
test: ^1.21.0

pkgs/firehose/pubspec_overrides.yaml

Lines changed: 0 additions & 3 deletions
This file was deleted.

pkgs/repo_manage/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ dependencies:
1414
path: ^1.8.0
1515

1616
dev_dependencies:
17-
dart_flutter_team_lints: ^2.0.0
17+
dart_flutter_team_lints: ^3.0.0

pkgs/repo_manage/pubspec_overrides.yaml

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)