Skip to content

Commit

Permalink
fake_async: latest lints
Browse files Browse the repository at this point in the history
Also remove duplicative lints from matcher
  • Loading branch information
kevmoo committed Dec 20, 2024
1 parent fea7852 commit 7ea99cb
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 23 deletions.
2 changes: 2 additions & 0 deletions pkgs/fake_async/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
## 1.3.3-wip

## 1.3.2

* Require Dart 3.3
Expand Down
3 changes: 0 additions & 3 deletions pkgs/fake_async/analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,8 @@ linter:
- avoid_unused_constructor_parameters
- cancel_subscriptions
- cascade_invocations
- comment_references
- join_return_with_assignment
- literal_only_boolean_expressions
- no_adjacent_strings_in_list
- prefer_const_constructors
- prefer_final_locals
- test_types_in_equals
- unnecessary_await_in_return
4 changes: 2 additions & 2 deletions pkgs/fake_async/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: fake_async
version: 1.3.2
version: 1.3.3-wip
description: >-
Fake asynchronous events such as timers and microtasks for deterministic
testing.
Expand All @@ -13,5 +13,5 @@ dependencies:

dev_dependencies:
async: ^2.5.0
dart_flutter_team_lints: ^2.0.0
dart_flutter_team_lints: ^3.0.0
test: ^1.16.0
18 changes: 0 additions & 18 deletions pkgs/matcher/analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,11 @@ include: package:dart_flutter_team_lints/analysis_options.yaml

linter:
rules:
- always_declare_return_types
- avoid_dynamic_calls
- avoid_private_typedef_functions
- avoid_unused_constructor_parameters
- cancel_subscriptions
- comment_references
- directives_ordering
- lines_longer_than_80_chars
- literal_only_boolean_expressions
- missing_whitespace_between_adjacent_strings
- no_adjacent_strings_in_list
- no_runtimeType_toString
- omit_local_variable_types
- only_throw_errors
- prefer_const_constructors
- prefer_relative_imports
- prefer_single_quotes
- test_types_in_equals
- throw_in_finally
- type_annotate_public_apis
- unawaited_futures
- unnecessary_await_in_return
- unnecessary_lambdas
- unnecessary_parenthesis
- unnecessary_statements
- use_super_parameters

0 comments on commit 7ea99cb

Please sign in to comment.