Skip to content

Commit b30d7f7

Browse files
authored
Update to latest lints and cleanup (dart-archive/string_scanner#67)
1 parent ed7eaa8 commit b30d7f7

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

pkgs/string_scanner/analysis_options.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,27 +13,21 @@ linter:
1313
- avoid_classes_with_only_static_members
1414
- avoid_private_typedef_functions
1515
- avoid_redundant_argument_values
16-
- avoid_returning_null_for_future
1716
- avoid_returning_this
1817
- avoid_unused_constructor_parameters
1918
- avoid_void_async
2019
- cancel_subscriptions
21-
- comment_references
2220
- join_return_with_assignment
2321
- literal_only_boolean_expressions
2422
- missing_whitespace_between_adjacent_strings
2523
- no_adjacent_strings_in_list
2624
- no_runtimeType_toString
2725
- package_api_docs
28-
- prefer_const_constructors
2926
- prefer_const_declarations
3027
- prefer_expression_function_bodies
3128
- prefer_final_locals
32-
- prefer_relative_imports
33-
- test_types_in_equals
3429
- unnecessary_await_in_return
3530
- unnecessary_raw_strings
3631
- use_if_null_to_convert_nulls_to_bools
3732
- use_raw_strings
3833
- use_string_buffers
39-
- use_super_parameters

pkgs/string_scanner/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ dependencies:
1010
source_span: ^1.8.0
1111

1212
dev_dependencies:
13-
dart_flutter_team_lints: ^1.0.0
13+
dart_flutter_team_lints: ^2.0.0
1414
test: ^1.16.0

0 commit comments

Comments
 (0)