mirror of
https://github.com/dart-lang/sdk
synced 2024-11-05 18:22:09 +00:00
5a3b09720b
* Remove CondtitionalModification; unused. * Prefer string interpolation * Prefer for-in over forEach * Don't expose private types in public API * A few other small ones Change-Id: I14b4f1a957907338ae62b5fa980ecb5c1b240496 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237845 Reviewed-by: Phil Quitslund <pquitslund@google.com> Reviewed-by: Paul Berry <paulberry@google.com> Commit-Queue: Samuel Rawlins <srawlins@google.com>
29 lines
863 B
YAML
29 lines
863 B
YAML
include: package:lints/recommended.yaml
|
|
|
|
analyzer:
|
|
errors:
|
|
# There are currently 175 violations.
|
|
always_declare_return_types: ignore
|
|
# There are currently 60 violations.
|
|
annotate_overrides: ignore
|
|
# A number of class names mix UpperCamelCase with underscores.
|
|
camel_case_types: ignore
|
|
# This package freely and frequently imports implementation from analyzer.
|
|
implementation_imports: ignore
|
|
# Our test methods are named with snake_case.
|
|
non_constant_identifier_names: ignore
|
|
# There are currently 200 violations.
|
|
omit_local_variable_types: ignore
|
|
# There are currently 20 violations.
|
|
unawaited_futures: ignore
|
|
|
|
language:
|
|
strict-casts: true
|
|
|
|
linter:
|
|
rules:
|
|
- await_only_futures
|
|
- empty_constructor_bodies
|
|
- empty_statements
|
|
- unnecessary_brace_in_string_interps
|
|
- valid_regexps
|