mirror of
https://github.com/dart-lang/sdk
synced 2024-11-05 18:22:09 +00:00
f292b20dfd
Two rules, `iterable_contains_unrelated_type` and `list_remove_unrelated_type` are deprecated (which fails the CI) and replaced with `collection_methods_unrelated_type`. See https://logs.chromium.org/logs/dart/buildbucket/cr-buildbucket/8780614474452305057/+/u/analyze_pkg_/stdout for the failures resulting from referencing deprecated rules. Change-Id: I00087e684bfb230b5dc94ab832c969ed67a631f7 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/304780 Commit-Queue: Samuel Rawlins <srawlins@google.com> Reviewed-by: Johnni Winther <johnniwinther@google.com>
20 lines
482 B
YAML
20 lines
482 B
YAML
analyzer:
|
|
exclude:
|
|
- testcases/**
|
|
|
|
linter:
|
|
rules:
|
|
- collection_methods_unrelated_type
|
|
- curly_braces_in_flow_control_structures
|
|
- prefer_adjacent_string_concatenation
|
|
- unawaited_futures
|
|
- recursive_getters
|
|
- avoid_empty_else
|
|
- empty_statements
|
|
- valid_regexps
|
|
- package_api_docs
|
|
- lines_longer_than_80_chars
|
|
- unrelated_type_equality_checks
|
|
- annotate_overrides
|
|
- always_declare_return_types
|
|
# - always_specify_types
|