-
Notifications
You must be signed in to change notification settings - Fork 3
/
analysis_options.yaml
55 lines (51 loc) · 1.59 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
53
54
55
include: package:lint/analysis_options.yaml
linter:
rules:
- prefer_single_quotes
- omit_local_variable_types
- avoid_relative_lib_imports
- await_only_futures
- prefer_spread_collections
- prefer_typing_uninitialized_variables
analyzer:
strong-mode:
implicit-casts: false
errors:
sort_pub_dependencies: ignore
non_constant_identifier_names: ignore
avoid_function_literals_in_foreach_calls: ignore
avoid_classes_with_only_static_members: ignore
prefer_const_declarations: error
directives_ordering: warning
constant_identifier_names: ignore
unnecessary_statements: error
invalid_use_of_visible_for_testing_member: error
missing_required_param: error
parameter_assignments: error
prefer_const_constructors: error
unused_import: error
sort_constructors_first: warning
unused_field: warning
unused_element: ignore
overridden_fields: ignore
use_setters_to_change_properties: ignore
implementation_imports: ignore
avoid_redundant_argument_values: ignore
unnecessary_brace_in_string_interps: ignore
unawaited_futures: warning
unnecessary_final: error
prefer_single_quotes: error
omit_local_variable_types: error
always_put_required_named_parameters_first: error
avoid_relative_lib_imports: error
await_only_futures: error
prefer_typing_uninitialized_variables: error
deprecated_member_use: error
exclude:
- "vendors/**"
- "resources/**"
- "**/*.g.dart"
- "**/*.gr.dart"
- "lib/common/router/router.gr.dart"
- "component_templates/**"
- "packages/**"