a11d2feb92
Change-Id: Id2c57e56425aa31e86b78f081d71575e8fec7838 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/406722 Auto-Submit: Phil Quitslund <pquitslund@google.com> Reviewed-by: Konstantin Shcheglov <scheglov@google.com> Commit-Queue: Phil Quitslund <pquitslund@google.com>
30 lines
756 B
YAML
30 lines
756 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
|
|
# Existing violations (194)
|
|
unintended_html_in_doc_comment: ignore
|
|
|
|
linter:
|
|
rules:
|
|
- always_declare_return_types
|
|
- analyzer_use_new_elements
|
|
- flutter_style_todos
|
|
- library_annotations
|
|
- omit_local_variable_types
|
|
- prefer_single_quotes
|
|
- unawaited_futures
|
|
- unnecessary_ignore
|
|
- unnecessary_library_directive
|
|
- unnecessary_parenthesis
|
|
- unreachable_from_main
|