a2491e487b
Change-Id: Iaf20cd6e78e3950935a1f2002bd5854a9d4108bf Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/447120 Commit-Queue: Samuel Rawlins <srawlins@google.com> Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
30 lines
697 B
YAML
30 lines
697 B
YAML
include: package:lints/recommended.yaml
|
|
|
|
analyzer:
|
|
exclude:
|
|
- lib/mock_packages/package_content/**
|
|
errors:
|
|
# Ignoring this for all developers means developers don't need to ignore
|
|
# TODOs in their IDE settings.
|
|
todo: ignore
|
|
|
|
language:
|
|
strict-casts: true
|
|
strict-inference: true
|
|
strict-raw-types: true
|
|
|
|
linter:
|
|
rules:
|
|
- avoid_dynamic_calls
|
|
- avoid_unused_constructor_parameters
|
|
- flutter_style_todos
|
|
- library_annotations
|
|
- prefer_single_quotes
|
|
- unawaited_futures
|
|
- unnecessary_breaks
|
|
- unnecessary_ignore
|
|
- unnecessary_library_directive
|
|
- unnecessary_parenthesis
|
|
- unreachable_from_main
|
|
- use_null_aware_elements
|