blob: 7d94f0b07d63b3d4b9e0c5e6144bc21e61c963b4 [file] [log] [blame]
include: package:lints/recommended.yaml
analyzer:
language:
strict-casts: true
strict-inference: true
strict-raw-types: true
linter:
rules:
- always_declare_return_types
- avoid_unused_constructor_parameters
- cancel_subscriptions
- depend_on_referenced_packages
- directives_ordering
- library_private_types_in_public_api
- lines_longer_than_80_chars
- literal_only_boolean_expressions
- missing_whitespace_between_adjacent_strings
- no_adjacent_strings_in_list
- no_leading_underscores_for_library_prefixes
- no_leading_underscores_for_local_identifiers
- no_runtimeType_toString
- null_check_on_nullable_type_parameter
- omit_local_variable_types
- package_api_docs
- prefer_relative_imports
- prefer_single_quotes
- test_types_in_equals
- throw_in_finally
- type_annotate_public_apis
- unawaited_futures
- unnecessary_await_in_return
- unnecessary_constructor_name
- unnecessary_lambdas
- unnecessary_late
- unnecessary_null_aware_assignments
- unnecessary_nullable_for_final_variable_declarations
- use_super_parameters