From 492a5bd33669695af936563d6c8c39bd543b6fe8 Mon Sep 17 00:00:00 2001 From: Devon Carew Date: Fri, 27 Sep 2024 09:07:50 -0700 Subject: [PATCH] rev dep on package:lints to 5.0.0 (#301) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - rev dep on package:lints to 5.0.0 - prep. to publish `3.2.1` --- - [x] I’ve reviewed the contributor guide and applied the relevant portions to this PR.
Contribution guidelines:
- See our [contributor guide](https://github.com/dart-lang/.github/blob/main/CONTRIBUTING.md) for general expectations for PRs. - Larger or significant changes should be discussed in an issue before creating a PR. - Contributions to our repos should follow the [Dart style guide](https://dart.dev/guides/language/effective-dart) and use `dart format`. - Most changes should add an entry to the changelog and may need to [rev the pubspec package version](https://github.com/dart-lang/sdk/blob/main/docs/External-Package-Maintenance.md#making-a-change). - Changes to packages require [corresponding tests](https://github.com/dart-lang/.github/blob/main/CONTRIBUTING.md#Testing). Note that many Dart repos have a weekly cadence for reviewing PRs - please allow for some latency before initial review feedback.
--- pkgs/dart_flutter_team_lints/CHANGELOG.md | 7 +++++++ pkgs/dart_flutter_team_lints/lib/analysis_options.yaml | 3 --- pkgs/dart_flutter_team_lints/pubspec.yaml | 4 ++-- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/pkgs/dart_flutter_team_lints/CHANGELOG.md b/pkgs/dart_flutter_team_lints/CHANGELOG.md index 63b1d727..79ec3813 100644 --- a/pkgs/dart_flutter_team_lints/CHANGELOG.md +++ b/pkgs/dart_flutter_team_lints/CHANGELOG.md @@ -1,3 +1,10 @@ +## 3.2.1 + +- Depend on the `5.0.0` release of `package:lints`. +- Removed duplicated lints: `unnecessary_library_name`, + `invalid_runtime_check_with_js_interop_types`, and + `unintended_html_in_doc_comment` + ## 3.2.0 - Contributed a (brief) change policy to the readme. diff --git a/pkgs/dart_flutter_team_lints/lib/analysis_options.yaml b/pkgs/dart_flutter_team_lints/lib/analysis_options.yaml index efb5ffb8..5a383334 100644 --- a/pkgs/dart_flutter_team_lints/lib/analysis_options.yaml +++ b/pkgs/dart_flutter_team_lints/lib/analysis_options.yaml @@ -34,7 +34,6 @@ linter: - sort_pub_dependencies - unnecessary_lambdas - unnecessary_library_directive - - unnecessary_library_name - unnecessary_parenthesis - unnecessary_statements - use_is_even_rather_than_modulo @@ -45,11 +44,9 @@ linter: - avoid_dynamic_calls - comment_references - conditional_uri_does_not_exist - - invalid_runtime_check_with_js_interop_types - only_throw_errors - test_types_in_equals - throw_in_finally - type_annotate_public_apis - unawaited_futures - - unintended_html_in_doc_comment - unreachable_from_main diff --git a/pkgs/dart_flutter_team_lints/pubspec.yaml b/pkgs/dart_flutter_team_lints/pubspec.yaml index 26cfb83d..34ffc5fd 100644 --- a/pkgs/dart_flutter_team_lints/pubspec.yaml +++ b/pkgs/dart_flutter_team_lints/pubspec.yaml @@ -1,13 +1,13 @@ name: dart_flutter_team_lints description: An analysis rule set used by the Dart and Flutter teams. -version: 3.2.0 +version: 3.2.1 repository: https://github.com/dart-lang/ecosystem/tree/main/pkgs/dart_flutter_team_lints environment: sdk: ^3.5.0 dependencies: - lints: ^4.0.0 + lints: ^5.0.0 dev_dependencies: checks: ^0.3.0