mirror of
https://github.com/dart-lang/sdk
synced 2024-10-14 16:13:19 +00:00
ba662eb4b4
See patch 2 for failures coming from this new analysis option. Change-Id: I6bb10c2eb12431f6c503cc817a9c9bb45ba597a4 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/269800 Commit-Queue: Nate Biggs <natebiggs@google.com> Reviewed-by: Sigmund Cherem <sigmund@google.com>
27 lines
865 B
YAML
27 lines
865 B
YAML
# Copyright (c) 2022, 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: package:lints/recommended.yaml
|
|
|
|
analyzer:
|
|
errors:
|
|
todo: ignore
|
|
avoid_function_literals_in_foreach_calls: ignore
|
|
avoid_renaming_method_parameters: ignore
|
|
# Allow deprecated calls from within the same package
|
|
deprecated_member_use_from_same_package: ignore
|
|
constant_identifier_names: ignore
|
|
non_constant_identifier_names: ignore
|
|
prefer_void_to_null: ignore
|
|
|
|
linter:
|
|
rules:
|
|
# Not enforced by the lints package at any version.
|
|
- always_declare_return_types
|
|
- avoid_dynamic_calls
|
|
- depend_on_referenced_packages
|
|
- directives_ordering
|
|
- prefer_single_quotes
|
|
- prefer_relative_imports
|