19ca914f74
use_null_aware_elements is included in the lints package analysis options. Change-Id: I01222fc7e84be32da657f04b16e15af7d5861433 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/506600 Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Auto-Submit: Samuel Rawlins <srawlins@google.com> Commit-Queue: Brian Wilkerson <brianwilkerson@google.com>
27 lines
644 B
YAML
27 lines
644 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
|