Files
sdk/pkg/compiler/analysis_options.yaml
T
Stephen Adams 23ba783c4c [dart2js] Use null-aware elements
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>
2025-06-06 12:45:17 -07:00

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