dart-sdk/pkg/analyzer_cli/analysis_options.yaml
pq 63a77416b7 enable depend_on_referenced_packages
this is under consideration for core lint inclusion: https://github.com/dart-lang/lints/issues/42

(also undoubtably nice to get the early warning.)

Change-Id: I3ea204444f48d3b4bde3ff65b4ce85a2cf2a7b11
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/202301
Commit-Queue: Phil Quitslund <pquitslund@google.com>
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
2021-06-04 14:19:08 +00:00

21 lines
494 B
YAML

include: package:lints/recommended.yaml
analyzer:
strong-mode:
implicit-casts: false
language:
strict-inference: true
exclude:
- test/data/**
linter:
rules:
avoid_unused_constructor_parameters: true
depend_on_referenced_packages: true
directives_ordering: true
# We import heavily from package:analyzer/src.
implementation_imports: false
# This rule does not work well with package:test_reflective_loader.
non_constant_identifier_names: false