| # https://dart.dev/guides/language/analysis-options | |
| include: package:dart_flutter_team_lints/analysis_options.yaml | |
| analyzer: | |
| language: | |
| strict-casts: true | |
| errors: | |
| avoid_catching_errors: ignore | |
| comment_references: ignore | |
| only_throw_errors: ignore | |
| linter: | |
| rules: | |
| - avoid_bool_literals_in_conditional_expressions | |
| - avoid_classes_with_only_static_members | |
| - avoid_private_typedef_functions | |
| - avoid_redundant_argument_values | |
| - avoid_returning_this | |
| - avoid_unused_constructor_parameters | |
| - avoid_void_async | |
| - cancel_subscriptions | |
| - literal_only_boolean_expressions | |
| - missing_whitespace_between_adjacent_strings | |
| - no_adjacent_strings_in_list | |
| - prefer_const_declarations | |
| - prefer_expression_function_bodies | |
| - prefer_final_locals | |
| - unnecessary_breaks | |
| - unnecessary_ignore | |
| - use_enums | |
| - use_if_null_to_convert_nulls_to_bools | |
| - use_raw_strings | |
| - use_string_buffers |