blob: 24ce13d4b8f7beec99e90f93c61435bf09c0b095 [file] [log] [blame]
include: package:pedantic/analysis_options.1.9.0.yaml
analyzer:
errors:
# Increase the severity of the unused_import hint.
unused_import: warning
# There are currently 10k violations in test/ and tool/.
always_declare_return_types: ignore
# There are currently 5000 violations in lib/. This just does not fit well
# with the analyzer team's style.
omit_local_variable_types: ignore
# There are currently 3360 violations in lib/.
prefer_single_quotes: ignore
# There are currently 2000 violations in lib/.
unnecessary_this: ignore
linter:
rules:
- avoid_unused_constructor_parameters
- empty_statements
- prefer_typing_uninitialized_variables
- unnecessary_brace_in_string_interps
- unnecessary_parenthesis