Files
sdk/pkg/analyzer_plugin/analysis_options.yaml
T
Parker Lougheed 1f4f0d386a [linter] Generate lint codes from messages file
Change-Id: Id4f7ee5843a4063d1e527c1566847d88b355c614
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/373725
Reviewed-by: Phil Quitslund <pquitslund@google.com>
Commit-Queue: Phil Quitslund <pquitslund@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
2024-08-08 19:24:30 +00:00

26 lines
624 B
YAML

include: package:lints/recommended.yaml
analyzer:
language:
strict-casts: true
errors:
todo: ignore
# Remove from lints/recommended:
constant_identifier_names: ignore
implementation_imports: ignore
non_constant_identifier_names: ignore
# Existing violations (3)
library_private_types_in_public_api: ignore
linter:
rules:
- always_declare_return_types
- flutter_style_todos
- library_annotations
- omit_local_variable_types
- prefer_single_quotes
- unawaited_futures
- unnecessary_library_directive
- unnecessary_parenthesis
- unreachable_from_main