blob: 9dc8788ef9406e2f8410130e903f95dc3fbde81a [file] [log] [blame]
include: package:lints/recommended.yaml
analyzer:
language:
strict-casts: true
strict-raw-types: true
linter:
rules:
- always_declare_return_types
- avoid_bool_literals_in_conditional_expressions
- avoid_classes_with_only_static_members
- avoid_returning_null
- avoid_returning_this
- avoid_unused_constructor_parameters
- cascade_invocations
- comment_references
- directives_ordering
- join_return_with_assignment
- no_adjacent_strings_in_list
- omit_local_variable_types
- only_throw_errors
- prefer_const_constructors
- prefer_single_quotes
- test_types_in_equals
- throw_in_finally
- unawaited_futures
- unnecessary_lambdas
- unnecessary_parenthesis
- unnecessary_statements