23ba783c4c
Change-Id: I2dc74c57efd355ab4871eb2ad48a97fc817a2940 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/433300 Reviewed-by: Mayank Patke <fishythefish@google.com> Commit-Queue: Stephen Adams <sra@google.com>
25 lines
699 B
YAML
25 lines
699 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
|
|
- use_null_aware_elements
|