-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathanalysis_options.yaml
36 lines (36 loc) · 1000 Bytes
/
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
include: package:lints/recommended.yaml
analyzer:
language:
strict-casts: true
strict-inference: true
#strict-raw-types: true
strong-mode:
implicit-casts: false
linter:
rules:
- always_declare_return_types
- avoid_annotating_with_dynamic
- avoid_empty_else
- avoid_relative_lib_imports
- avoid_shadowing_type_parameters
- avoid_types_as_parameter_names
- directives_ordering
- no_duplicate_case_values
- null_closures
- prefer_const_constructors_in_immutables
- prefer_const_declarations
- prefer_final_fields
- prefer_final_locals
- prefer_is_empty
- prefer_is_not_empty
- prefer_null_aware_operators
- prefer_relative_imports
- recursive_getters
- slash_for_doc_comments
- sort_pub_dependencies
- unawaited_futures
- unnecessary_lambdas
- unnecessary_overrides
- unnecessary_parenthesis
- unrelated_type_equality_checks
- valid_regexps