6adcc1ca54
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>
29 lines
731 B
YAML
29 lines
731 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_library_directive
|
|
- unnecessary_parenthesis
|
|
- unreachable_from_main
|