-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathanalysis_options.yaml
52 lines (52 loc) · 1.82 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
linter:
rules:
always_put_control_body_on_new_line: true
avoid_multiple_declarations_per_line: true
avoid_print: true
avoid_redundant_argument_values: true
avoid_relative_lib_imports: true
avoid_single_cascade_in_expression_statements: true
avoid_unnecessary_containers: true
avoid_void_async: true
avoid_web_libraries_in_flutter: true
camel_case_extensions: true
camel_case_types: true
curly_braces_in_flow_control_structures: true
directives_ordering: true
file_names: true
missing_whitespace_between_adjacent_strings: true
no_logic_in_create_state: true
package_names: true
prefer_conditional_assignment: true
prefer_const_constructors: true
prefer_const_constructors_in_immutables: true
prefer_const_declarations: true
prefer_const_literals_to_create_immutables: true
prefer_contains: true
prefer_final_fields: true
prefer_function_declarations_over_variables: true
prefer_if_elements_to_conditional_expressions: true
prefer_if_null_operators: true
prefer_initializing_formals: true
prefer_inlined_adds: true
prefer_is_empty: true
prefer_is_not_empty: true
prefer_is_not_operator: true
prefer_iterable_whereType: true
prefer_null_aware_operators: true
prefer_relative_imports: true
prefer_spread_collections: true
sized_box_for_whitespace: true
slash_for_doc_comments: true
sort_child_properties_last: true
unnecessary_const: true
unnecessary_new: true
unnecessary_null_in_if_null_operators: true
unnecessary_string_interpolations: true
unnecessary_this: true
use_full_hex_values_for_flutter_colors: true
use_function_type_syntax_for_parameters: true
use_key_in_widget_constructors: true
use_rethrow_when_possible: true
valid_regexps: true
void_checks: true