b40781459a
Change-Id: Ice7b7e978ccc666c18cbea9cb9e79673893066ed Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/448221 Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Commit-Queue: Samuel Rawlins <srawlins@google.com>
28 lines
674 B
YAML
28 lines
674 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 (194)
|
|
unintended_html_in_doc_comment: ignore
|
|
|
|
linter:
|
|
rules:
|
|
- always_declare_return_types
|
|
- flutter_style_todos
|
|
- omit_local_variable_types
|
|
- prefer_single_quotes
|
|
- unawaited_futures
|
|
- unnecessary_async
|
|
- unnecessary_ignore
|
|
- unnecessary_library_directive
|
|
- unnecessary_parenthesis
|
|
- unreachable_from_main
|
|
- use_null_aware_elements
|