diff --git a/.github/workflows/health_internal.yaml b/.github/workflows/health_internal.yaml index 336f8d76..2a8d4ed9 100644 --- a/.github/workflows/health_internal.yaml +++ b/.github/workflows/health_internal.yaml @@ -20,3 +20,5 @@ jobs: warn_on: license,coverage,breaking,leaking ignore_license: 'pkgs/firehose/test_data' ignore_coverage: 'pkgs/firehose/bin,pkgs/firehose/test_data' + permissions: + pull-requests: write diff --git a/pkgs/dart_flutter_team_lints/CHANGELOG.md b/pkgs/dart_flutter_team_lints/CHANGELOG.md index 6ce50764..4850eb21 100644 --- a/pkgs/dart_flutter_team_lints/CHANGELOG.md +++ b/pkgs/dart_flutter_team_lints/CHANGELOG.md @@ -1,3 +1,7 @@ +## 3.5.0 + +- Added `discarded_futures`. + ## 3.4.0 - Added `unnecessary_underscores`. diff --git a/pkgs/dart_flutter_team_lints/lib/analysis_options.yaml b/pkgs/dart_flutter_team_lints/lib/analysis_options.yaml index 1a53b101..3ce4d530 100644 --- a/pkgs/dart_flutter_team_lints/lib/analysis_options.yaml +++ b/pkgs/dart_flutter_team_lints/lib/analysis_options.yaml @@ -44,6 +44,7 @@ linter: - avoid_dynamic_calls - comment_references - conditional_uri_does_not_exist + - discarded_futures - only_throw_errors - strict_top_level_inference - test_types_in_equals diff --git a/pkgs/dart_flutter_team_lints/pubspec.yaml b/pkgs/dart_flutter_team_lints/pubspec.yaml index 52fabd7d..76971884 100644 --- a/pkgs/dart_flutter_team_lints/pubspec.yaml +++ b/pkgs/dart_flutter_team_lints/pubspec.yaml @@ -1,6 +1,6 @@ name: dart_flutter_team_lints description: An analysis rule set used by the Dart and Flutter teams. -version: 3.4.0 +version: 3.5.0 repository: https://github.com/dart-lang/ecosystem/tree/main/pkgs/dart_flutter_team_lints issue_tracker: https://github.com/dart-lang/ecosystem/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Adart_flutter_team_lints