blob: 17eceab058ba1d8f484d2fe166552bba2446614e [file]
include: package:lints/recommended.yaml
analyzer:
language:
strict-casts: true
strict-inference: true
strict-raw-types: true
errors:
# Ignoring this for all developers means developers don't need to ignore
# TODOs in their IDE settings.
todo: ignore
linter:
rules:
- avoid_dynamic_calls
- avoid_unused_constructor_parameters
- flutter_style_todos
- prefer_single_quotes
- unawaited_futures
- unnecessary_breaks
- unnecessary_const_in_enum_constructor
- unnecessary_ignore
- unnecessary_library_directive
- unnecessary_parenthesis
- unnecessary_type_name_in_constructor
- unreachable_from_main
- use_null_aware_elements