22 lines
649 B
YAML
22 lines
649 B
YAML
# 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.
|
|
linter:
|
|
rules:
|
|
- valid_regexps
|
|
- prefer_const_constructors
|
|
- prefer_const_declarations
|
|
- prefer_const_literals_to_create_immutables
|
|
- prefer_constructors_over_static_methods
|
|
- prefer_contains
|
|
- annotate_overrides
|
|
- await_futures
|
|
|
|
analyzer:
|
|
exclude:
|
|
- example\**
|