-
Notifications
You must be signed in to change notification settings - Fork 2
/
analysis_options.yaml
52 lines (49 loc) · 1.44 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
45
46
47
48
49
50
51
52
include: package:flutter/analysis_options_user.yaml
analyzer:
strong-mode:
implicit-casts: false
implicit-dynamic: false
errors:
asset_does_not_exist: ignore
unrecognized_error_code: ignore
avoid_relative_lib_imports: error
await_only_futures: error
dead_code: error
library_names: error
library_prefixes: error
missing_required_param: error
missing_return: error
prefer_single_quotes: error
return_without_value: error
unnecessary_brace_in_string_interps: error
unnecessary_const: error
unnecessary_getters_setters: error
unnecessary_lambdas: error
unnecessary_new: error
unnecessary_null_aware_assignments: error
unnecessary_null_in_if_null_operators: error
unnecessary_overrides: error
unnecessary_parenthesis: error
unnecessary_this: error
unused_import: error
unused_local_variable: error
no_duplicate_case_values: error
MISSING_ENUM_CONSTANT_IN_SWITCH: error
linter:
rules:
- avoid_relative_lib_imports
- await_only_futures
- library_names
- library_prefixes
- prefer_single_quotes
- unnecessary_brace_in_string_interps
- unnecessary_const
- unnecessary_getters_setters
- unnecessary_lambdas
- unnecessary_new
- unnecessary_null_aware_assignments
- unnecessary_null_in_if_null_operators
- unnecessary_overrides
- unnecessary_parenthesis
- unnecessary_this
- no_duplicate_case_values