Skip to content

Commit f364fc8

Browse files
authored
fake_async: latest lints (#2433)
Also remove duplicative lints from matcher
1 parent eb870b9 commit f364fc8

File tree

4 files changed

+4
-23
lines changed

4 files changed

+4
-23
lines changed

pkgs/fake_async/CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
## 1.3.3-wip
2+
13
## 1.3.2
24

35
* Require Dart 3.3

pkgs/fake_async/analysis_options.yaml

-3
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,8 @@ linter:
1111
- avoid_unused_constructor_parameters
1212
- cancel_subscriptions
1313
- cascade_invocations
14-
- comment_references
1514
- join_return_with_assignment
1615
- literal_only_boolean_expressions
1716
- no_adjacent_strings_in_list
18-
- prefer_const_constructors
1917
- prefer_final_locals
20-
- test_types_in_equals
2118
- unnecessary_await_in_return

pkgs/fake_async/pubspec.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: fake_async
2-
version: 1.3.2
2+
version: 1.3.3-wip
33
description: >-
44
Fake asynchronous events such as timers and microtasks for deterministic
55
testing.
@@ -13,5 +13,5 @@ dependencies:
1313

1414
dev_dependencies:
1515
async: ^2.5.0
16-
dart_flutter_team_lints: ^2.0.0
16+
dart_flutter_team_lints: ^3.0.0
1717
test: ^1.16.0

pkgs/matcher/analysis_options.yaml

-18
Original file line numberDiff line numberDiff line change
@@ -2,29 +2,11 @@ include: package:dart_flutter_team_lints/analysis_options.yaml
22

33
linter:
44
rules:
5-
- always_declare_return_types
6-
- avoid_dynamic_calls
75
- avoid_private_typedef_functions
86
- avoid_unused_constructor_parameters
97
- cancel_subscriptions
10-
- comment_references
11-
- directives_ordering
12-
- lines_longer_than_80_chars
138
- literal_only_boolean_expressions
149
- missing_whitespace_between_adjacent_strings
1510
- no_adjacent_strings_in_list
1611
- no_runtimeType_toString
17-
- omit_local_variable_types
18-
- only_throw_errors
19-
- prefer_const_constructors
20-
- prefer_relative_imports
21-
- prefer_single_quotes
22-
- test_types_in_equals
23-
- throw_in_finally
24-
- type_annotate_public_apis
25-
- unawaited_futures
2612
- unnecessary_await_in_return
27-
- unnecessary_lambdas
28-
- unnecessary_parenthesis
29-
- unnecessary_statements
30-
- use_super_parameters

0 commit comments

Comments
 (0)