mirror of
https://github.com/dart-lang/sdk
synced 2024-09-18 20:11:19 +00:00
63a77416b7
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>
21 lines
494 B
YAML
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
|