-
Notifications
You must be signed in to change notification settings - Fork 47
/
analysis_options.yaml
82 lines (47 loc) · 1.69 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
include: package:lint/analysis_options.yaml
analyzer:
exclude:
- [build/**]
- lib/generated/**
language:
strict-raw-types: true
linter:
rules:
# ------ Disable individual rules ----- #
# --- #
# Turn off what you don't like. #
# ------------------------------------- #
# Make constructors the first thing in every class
sort_constructors_first: true
prefer_double_quotes: true
unreachable_from_main: false
prefer_final_locals: false
prefer_const_constructors: false
prefer_final_in_for_each: false
use_build_context_synchronously: false
avoid_redundant_argument_values: false
unnecessary_brace_in_string_interps: false
unnecessary_string_interpolations: false
prefer_interpolation_to_compose_strings: false
no_logic_in_create_state: false
parameter_assignments: false
non_constant_identifier_names: false
constant_identifier_names: false
package_prefixed_library_names: false
prefer_const_literals_to_create_immutables: false
avoid_print: false
avoid_positional_boolean_parameters: false
prefer_final_fields: false
sort_child_properties_last: false
depend_on_referenced_packages: false
noop_primitive_operations: false
directives_ordering: false
# Blindly follow the Flutter code style, which prefers types everywhere
always_specify_types: false
avoid_unnecessary_containers: false
require_trailing_commas: false
eol_at_end_of_file: false
avoid_dynamic_calls: false
avoid_classes_with_only_static_members: false
no_leading_underscores_for_local_identifiers: false
use_super_parameters: false