-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathanalysis_options.yaml
44 lines (42 loc) · 1.24 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
39
40
41
42
43
44
analyzer:
exclude:
- "**/*.freezed.dart"
- "**/*.g.dart"
- "**/*.mocks.dart"
- "**/l10n/*.dart"
- "lib/src/generated/**"
errors:
invalid_annotation_target: ignore
language:
strict-casts: false
linter:
rules:
always_declare_return_types: true
avoid_catches_without_on_clauses: true
avoid_equals_and_hash_code_on_mutable_classes: true
avoid_types_on_closure_parameters: true
cancel_subscriptions: true
depend_on_referenced_packages: true
directives_ordering: true
eol_at_end_of_file: true
omit_local_variable_types: true
prefer_asserts_in_initializer_lists: true
prefer_const_constructors: true
prefer_final_in_for_each: true
prefer_final_locals: true
prefer_relative_imports: true
prefer_null_aware_method_calls: true
prefer_null_aware_operators: true
prefer_single_quotes: true
sized_box_shrink_expand: true
sized_box_for_whitespace: true
sort_unnamed_constructors_first: true
sort_pub_dependencies: true
type_annotate_public_apis: true
unawaited_futures: true
unnecessary_lambdas: true
unnecessary_late: true
unnecessary_parenthesis: true
use_decorated_box: true
use_named_constants: true
use_super_parameters: true