525b67a9fe
Several call sites intentionally discard a future; these call sites have been wrapped with `unawaited()` (which is the standard way to suppress the lint). Turning on this lint uncovered several tests that should have been async; these tests have been fixed. Change-Id: I66e0f6bf7a05946e8d460ce9b5581837ce067870 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/431420 Commit-Queue: Konstantin Shcheglov <scheglov@google.com> Reviewed-by: Konstantin Shcheglov <scheglov@google.com> Auto-Submit: Paul Berry <paulberry@google.com>
24 lines
704 B
YAML
24 lines
704 B
YAML
# Copyright (c) 2019, 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.
|
|
|
|
include: analysis_options_no_lints.yaml
|
|
|
|
linter:
|
|
rules:
|
|
- analyzer_public_api
|
|
- annotate_overrides
|
|
- collection_methods_unrelated_type
|
|
- curly_braces_in_flow_control_structures
|
|
- discarded_futures
|
|
- prefer_adjacent_string_concatenation
|
|
- unawaited_futures
|
|
- recursive_getters
|
|
- avoid_empty_else
|
|
- empty_statements
|
|
- valid_regexps
|
|
- lines_longer_than_80_chars
|
|
# - always_specify_types
|
|
- use_super_parameters
|
|
- comment_references
|