-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathanalysis_options.yaml
43 lines (38 loc) · 1.1 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
include: package:lints/core.yaml
analyzer:
exclude:
- lib/routes/**.gr.dart
- lib/**.freezed.dart
- lib/**.g.dart
- build/**
errors:
invalid_annotation_target: ignore
linter:
rules:
avoid_function_literals_in_foreach_calls: true
avoid_unnecessary_containers: true
await_only_futures: true
camel_case_types: true
cancel_subscriptions: true
constant_identifier_names: true
empty_constructor_bodies: true
exhaustive_cases: true
file_names: true
library_prefixes: true
non_constant_identifier_names: true
prefer_const_constructors: true
prefer_final_fields: true
prefer_if_null_operators: true
prefer_is_not_empty: true
prefer_null_aware_operators: true
prefer_relative_imports: true
prefer_single_quotes: true
sized_box_for_whitespace: true
unnecessary_const: true
unnecessary_new: true
unnecessary_this: true
use_key_in_widget_constructors: true
omit_local_variable_types: false
unawaited_futures: false
sort_constructors_first: false
avoid_single_cascade_in_expression_statements: false