2020-02-20 19:50:10 +01:00
|
|
|
# Defines a default set of lint rules enforced for
|
|
|
|
# projects at Google. For details and rationale,
|
|
|
|
# see https://github.com/dart-lang/pedantic#enabled-lints.
|
|
|
|
include: package:effective_dart/analysis_options.yaml
|
|
|
|
|
|
|
|
# For lint rules and documentation, see http://dart-lang.github.io/linter/lints.
|
|
|
|
# Uncomment to specify additional rules.
|
2020-02-24 14:28:52 +01:00
|
|
|
linter:
|
|
|
|
rules:
|
|
|
|
- valid_regexps
|
|
|
|
- prefer_const_constructors
|
|
|
|
- prefer_const_declarations
|
|
|
|
- prefer_const_literals_to_create_immutables
|
|
|
|
- prefer_constructors_over_static_methods
|
|
|
|
- prefer_contains
|
2020-05-31 23:36:23 +02:00
|
|
|
- annotate_overrides
|
2020-06-05 20:18:42 +02:00
|
|
|
- await_only_futures
|
|
|
|
- unawaited_futures
|
2020-02-20 19:50:10 +01:00
|
|
|
|
|
|
|
analyzer:
|
2020-04-18 23:22:13 +02:00
|
|
|
exclude:
|
|
|
|
- example\**
|