include: package:lints/recommended.yaml
analyzer:
  language:
    strict-casts: true
    strict-inference: true
    strict-raw-types: true
linter:
  rules:
    - annotate_redeclares
    - avoid_dynamic_calls
    - avoid_final_parameters
    - avoid_print
    - avoid_unused_constructor_parameters
    - combinators_ordering
    - comment_references
    - directives_ordering
    - invalid_case_patterns
    - missing_code_block_language_in_doc_comment
    - no_self_assignments
    - omit_local_variable_types
    - prefer_const_constructors
    - prefer_const_constructors_in_immutables
    - prefer_const_declarations
    - prefer_const_literals_to_create_immutables
    - prefer_expression_function_bodies
    - prefer_final_in_for_each
    - prefer_final_locals
    - prefer_if_elements_to_conditional_expressions
    - prefer_relative_imports
    - prefer_single_quotes
    - unnecessary_await_in_return
    - unnecessary_breaks
    - unnecessary_lambdas
    - unnecessary_null_aware_operator_on_extension_on_nullable
    - unnecessary_null_checks
    - unnecessary_parenthesis
    - unnecessary_statements
    - unreachable_from_main