# https://dart.dev/tools/analysis#the-analysis-options-file
include: package:dart_flutter_team_lints/analysis_options.yaml

analyzer:
  language:
    strict-casts: true

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
  - cancel_subscriptions
  - cascade_invocations
  - join_return_with_assignment
  - literal_only_boolean_expressions
  - no_adjacent_strings_in_list
  - no_runtimeType_toString
  - prefer_const_declarations
  - prefer_expression_function_bodies
  - prefer_final_locals
  - use_string_buffers
