Files
sdk/pkg/analyzer_cli/analysis_options.yaml
T
Sam Rawlins fffa3ac5d4 analyzer_cli: Enforce strict-inference
Change-Id: Idd8a8cdd1e72be5f4d0f1edabdc8254b801d17ad
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/155100
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Commit-Queue: Samuel Rawlins <srawlins@google.com>
2020-07-21 03:39:24 +00:00

17 lines
349 B
YAML

include: package:pedantic/analysis_options.1.9.0.yaml
analyzer:
strong-mode:
implicit-casts: false
errors:
# Increase the severity of the unused_import hint.
unused_import: warning
language:
strict-inference: true
exclude:
- test/data/**
linter:
rules:
- empty_statements
- unnecessary_brace_in_string_interps