-
Notifications
You must be signed in to change notification settings - Fork 52
/
analysis_options.yaml
38 lines (38 loc) · 1.11 KB
/
analysis_options.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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