mirror of
https://github.com/dart-lang/sdk
synced 2024-10-02 02:41:57 +00:00
bf96a722bc
First of we apply the wanted lints etc we prefer. This includes but isn't limited to using types (i.e. no "var") and being explicit about creation (i.e. no missing "new"). Change-Id: I516bccdac9760221ea5311af4567466bb4a65c77 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/341960 Reviewed-by: Johnni Winther <johnniwinther@google.com> Commit-Queue: Jens Johansen <jensj@google.com> Reviewed-by: Alexander Thomas <athom@google.com>
22 lines
509 B
YAML
22 lines
509 B
YAML
analyzer:
|
|
exclude:
|
|
- test/fixtures/**
|
|
|
|
linter:
|
|
rules:
|
|
- collection_methods_unrelated_type
|
|
- curly_braces_in_flow_control_structures
|
|
- prefer_adjacent_string_concatenation
|
|
- unawaited_futures
|
|
- avoid_void_async
|
|
- 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
|