blob: fb7654e930b46ce837eca7479e86388a416201a1 [file] [log] [blame] [edit]
include: package:dart_flutter_team_lints/analysis_options.yaml
analyzer:
errors:
avoid_dynamic_calls: ignore #TODO(mosum): https://github.com/dart-lang/matcher/issues/252
inference_failure_on_collection_literal: ignore
inference_failure_on_function_return_type: ignore
inference_failure_on_instance_creation: ignore
language:
strict-casts: false #TODO(mosum): Fix https://github.com/dart-lang/matcher/issues/253
linter:
rules:
- always_declare_return_types
- avoid_private_typedef_functions
- avoid_unused_constructor_parameters
- cancel_subscriptions
- comment_references
- directives_ordering
- lines_longer_than_80_chars
- literal_only_boolean_expressions
- missing_whitespace_between_adjacent_strings
- no_adjacent_strings_in_list
- no_runtimeType_toString
- omit_local_variable_types
- only_throw_errors
- package_api_docs
- prefer_const_constructors
- prefer_relative_imports
- prefer_single_quotes
- test_types_in_equals
- throw_in_finally
- type_annotate_public_apis
- unawaited_futures
- unnecessary_await_in_return
- unnecessary_lambdas
- unnecessary_parenthesis
- unnecessary_statements
- use_super_parameters