Skip to content

Commit

Permalink
add 'unnecessary_library_name' to package:dart_flutter_team_lints (#252)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
devoncarew authored May 13, 2024
1 parent 5890417 commit ad9da15
Show file tree
Hide file tree
Showing 11 changed files with 86 additions and 58 deletions.
113 changes: 72 additions & 41 deletions .github/workflows/dart.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkgs/blast_repo/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ dependencies:
yaml_edit: ^2.1.0

dev_dependencies:
dart_flutter_team_lints: ^2.0.0
dart_flutter_team_lints: ^3.0.0
test: ^1.22.0
test_descriptor: ^2.0.0

Expand Down
2 changes: 1 addition & 1 deletion pkgs/corpus/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ dependencies:

dev_dependencies:
checks: ^0.3.0
dart_flutter_team_lints: ^2.0.0
dart_flutter_team_lints: ^3.0.0
test: ^1.22.0
test_descriptor: ^2.0.0
3 changes: 0 additions & 3 deletions pkgs/corpus/pubspec_overrides.yaml

This file was deleted.

9 changes: 7 additions & 2 deletions pkgs/dart_flutter_team_lints/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
## 3.1.0

- Added `unnecessary_library_name`.
- Require Dart `3.4`.

## 3.0.0

- Depend on the `4.0.0` release of `package:lints` adding
the `no_wildcard_variable_uses` lint.
- Depend on the `4.0.0` release of `package:lints`, adding the
`no_wildcard_variable_uses` lint.
- Require Dart `3.1.0` or later.

## 2.1.1
Expand Down
1 change: 1 addition & 0 deletions pkgs/dart_flutter_team_lints/lib/analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ linter:
- sort_pub_dependencies
- unnecessary_lambdas
- unnecessary_library_directive
- unnecessary_library_name
- unnecessary_parenthesis
- unnecessary_statements
- use_is_even_rather_than_modulo
Expand Down
4 changes: 2 additions & 2 deletions pkgs/dart_flutter_team_lints/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: dart_flutter_team_lints
description: An analysis rule set used by the Dart and Flutter teams.
version: 3.0.0
version: 3.1.0
repository: https://github.com/dart-lang/ecosystem/tree/main/pkgs/dart_flutter_team_lints

environment:
sdk: ^3.1.0
sdk: ^3.4.0

dependencies:
lints: ^4.0.0
Expand Down
2 changes: 1 addition & 1 deletion pkgs/firehose/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ dependencies:
yaml: ^3.1.0

dev_dependencies:
dart_flutter_team_lints: ^2.0.0
dart_flutter_team_lints: ^3.0.0
test: ^1.21.0
3 changes: 0 additions & 3 deletions pkgs/firehose/pubspec_overrides.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion pkgs/repo_manage/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ dependencies:
path: ^1.8.0

dev_dependencies:
dart_flutter_team_lints: ^2.0.0
dart_flutter_team_lints: ^3.0.0
3 changes: 0 additions & 3 deletions pkgs/repo_manage/pubspec_overrides.yaml

This file was deleted.

0 comments on commit ad9da15

Please sign in to comment.