Files
sdk/pkg/compiler/analysis_options.yaml
kevmoo 8132cc87ac Fix simple_directive_paths violations in compiler
Also enabled directive ordering, as is common
Removed `use_null_aware_elements` explicitly, since it's in the included set

Change-Id: I1b1b60078a27509872ea217b57b928fca7e9ef19
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/491600
Commit-Queue: Nicholas Shahan <nshahan@google.com>
Auto-Submit: Kevin Moore <kevmoo@google.com>
Reviewed-by: Nicholas Shahan <nshahan@google.com>
2026-03-30 09:15:42 -07:00

26 lines
741 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
- deprecated_member_use_from_same_package
- directives_ordering
- no_default_cases
- unnecessary_ignore
- unnecessary_statements