33ed2d83ab
Add `unneccessary_statements`. Add `unneccesary_ignore` so we can better maintain the ignores. Change-Id: I50303be70fd6dbc14bdf0c5f0af9e58a1c6ec042 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/420464 Commit-Queue: Stephen Adams <sra@google.com> Reviewed-by: Nate Biggs <natebiggs@google.com>
24 lines
669 B
YAML
24 lines
669 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:
|
|
todo: ignore
|
|
# Allow deprecated calls from within the same package
|
|
deprecated_member_use_from_same_package: ignore
|
|
illegal_language_version_override: ignore
|
|
language:
|
|
strict-inference: true
|
|
strict-raw-types: true
|
|
|
|
include: package:lints/recommended.yaml
|
|
|
|
linter:
|
|
rules:
|
|
- always_declare_return_types
|
|
- avoid_dynamic_calls
|
|
- no_default_cases
|
|
- unnecessary_ignore
|
|
- unnecessary_statements
|