blob: 54dec20d5190b80a856344e79381309839d658e1 [file] [log] [blame]
include: package:pedantic/analysis_options.yaml
analyzer:
strong-mode:
implicit-casts: false
errors:
# Remove noise from workspace diagnostics lists
todo: ignore
# Upgrade lints to errors that will break Google3
unused_element: error
unused_import: error
unused_local_variable: error
dead_code: error
# There are a number of deprecated members used through this package
deprecated_member_use_from_same_package: ignore
enable-experiment:
- non-nullable
linter:
rules:
- avoid_private_typedef_functions
- await_only_futures
- implementation_imports
- prefer_generic_function_type_aliases
- prefer_single_quotes
- prefer_typing_uninitialized_variables
- unnecessary_const
- unnecessary_new