Files
sdk/pkg/analyzer_cli/analysis_options.yaml
T
Brian Wilkerson 6adcc1ca54 Track migration in 5 more packages
Change-Id: I9a7a21c82d3083a13061d6da488b3951b49a1348
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/390823
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com>
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
2024-10-18 17:03:29 +00:00

28 lines
662 B
YAML

include: package:lints/recommended.yaml
analyzer:
language:
strict-casts: true
strict-inference: true
errors:
# We import heavily from package:analyzer/src.
implementation_imports: ignore
non_constant_identifier_names: ignore
exclude:
- test/data/**
linter:
rules:
- analyzer_use_new_elements
- always_declare_return_types
- avoid_unused_constructor_parameters
- directives_ordering
- flutter_style_todos
- library_annotations
- omit_local_variable_types
- prefer_single_quotes
- unawaited_futures
- unnecessary_library_directive
- unnecessary_parenthesis
- unreachable_from_main