blob: 5b6d7192ce6753968accc70ae522e8282708a79a [file] [log] [blame]
include: package:pedantic/analysis_options.1.9.0.yaml
analyzer:
language:
strict-inference: true
strict-raw-types: true
strong-mode:
implicit-casts: false
errors:
dead_code: error
unused_element: error
unused_import: error
unused_local_variable: error
# TODO(srawlins): Re-enable this once "unused" parameters are exempted.
inference_failure_on_untyped_parameter: ignore
linter:
rules:
- await_only_futures
- camel_case_types
# https://github.com/dart-lang/linter/issues/574
#- comment_references
- control_flow_in_finally
- directives_ordering
- empty_statements
- hash_and_equals
- implementation_imports
- iterable_contains_unrelated_type
- list_remove_unrelated_type
- non_constant_identifier_names
- only_throw_errors
- overridden_fields
- package_api_docs
- test_types_in_equals
- throw_in_finally
- unnecessary_brace_in_string_interps