Files
sdk/pkg/dartdev/analysis_options.yaml
T
Devon Carew 392bf9749d [dartdev] adjust the lints and general comment cleanup
Change-Id: I230519fb5241265936bd532d1b2c935a86e54055
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/164400
Reviewed-by: Ben Konyi <bkonyi@google.com>
Commit-Queue: Devon Carew <devoncarew@google.com>
2020-09-24 20:21:27 +00:00

23 lines
558 B
YAML

include: package:pedantic/analysis_options.1.9.0.yaml
analyzer:
errors:
# Increase the severity of several hints.
prefer_single_quotes: warning
unused_import: warning
unnecessary_brace_in_string_interps: warning
# Ignore one pedantic lint
omit_local_variable_types: ignore
linter:
rules:
- always_declare_return_types
- directives_ordering
- overridden_fields
- prefer_single_quotes
- sort_pub_dependencies
- unnecessary_brace_in_string_interps
- unnecessary_overrides
- unnecessary_parenthesis