Files
sdk/pkg/analyzer_testing/analysis_options.yaml
T
Sam Rawlins 19ca914f74 Remove redundant lint rules
use_null_aware_elements is included in the lints package analysis
options.

Change-Id: I01222fc7e84be32da657f04b16e15af7d5861433
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/506600
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Auto-Submit: Samuel Rawlins <srawlins@google.com>
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com>
2026-05-27 10:26:22 -07:00

29 lines
667 B
YAML

include: package:lints/recommended.yaml
analyzer:
exclude:
- lib/mock_packages/package_content/**
errors:
# Ignoring this for all developers means developers don't need to ignore
# TODOs in their IDE settings.
todo: ignore
language:
strict-casts: true
strict-inference: true
strict-raw-types: true
linter:
rules:
- avoid_dynamic_calls
- avoid_unused_constructor_parameters
- flutter_style_todos
- library_annotations
- prefer_single_quotes
- unawaited_futures
- unnecessary_breaks
- unnecessary_ignore
- unnecessary_library_directive
- unnecessary_parenthesis
- unreachable_from_main