Skip to content

Commit

Permalink
Replace deprecated linter rules (#6913)
Browse files Browse the repository at this point in the history
  • Loading branch information
parlough authored Aug 15, 2023
1 parent b4d48d1 commit e452856
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# https://dart.dev/guides/language/analysis-options
# https://dart.dev/tools/analysis
analyzer:
exclude:
- pkg/pub_integration/test_data/
language:
strict-casts: true

# http://dart-lang.github.io/linter/lints/options/options.html
# https://dart.dev/lints
linter:
rules:
- always_declare_return_types
Expand All @@ -23,6 +23,7 @@ linter:
- camel_case_types
- cancel_subscriptions
- close_sinks
- collection_methods_unrelated_type
- comment_references
- constant_identifier_names
- control_flow_in_finally
Expand All @@ -33,10 +34,8 @@ linter:
- empty_statements
- hash_and_equals
- implementation_imports
- iterable_contains_unrelated_type
- library_names
- library_prefixes
- list_remove_unrelated_type
- literal_only_boolean_expressions
- no_duplicate_case_values
- non_constant_identifier_names
Expand Down

0 comments on commit e452856

Please sign in to comment.