6c897ba077
Change-Id: I7f9227f3b00d84db5c29e8e5da88dba69def91cc Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/346760 Commit-Queue: Jens Johansen <jensj@google.com> Reviewed-by: Johnni Winther <johnniwinther@google.com>
27 lines
753 B
YAML
27 lines
753 B
YAML
# Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
|
|
# for details. All rights reserved. Use of this source code is governed by a
|
|
# BSD-style license that can be found in the LICENSE file.
|
|
|
|
analyzer:
|
|
errors:
|
|
# Allow having TODOs in the code
|
|
todo: ignore
|
|
|
|
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
|