forked from la-haus/flutter-segment
-
Notifications
You must be signed in to change notification settings - Fork 0
/
analysis_options.yaml
35 lines (33 loc) · 993 Bytes
/
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
include: package:lint/analysis_options.yaml
linter:
rules:
- camel_case_types
- file_names
- exhaustive_cases
- sort_constructors_first
- sort_unnamed_constructors_first
analyzer:
strong-mode:
# TODO: enable
#implicit-casts: false
errors:
todo: warning
file_names: error
camel_case_types: error
exhaustive_cases: error
unnecessary_non_null_assertion: error
invalid_use_of_visible_for_testing_member: error
unused_import: error
unused_local_variable: error
unused_field: error
missing_required_param: error
missing_return: error
prefer_final_locals: error
prefer_typing_uninitialized_variables: error
prefer_function_declarations_over_variables: false
prefer_const_declarations: false
avoid_function_literals_in_foreach_calls: false
avoid_redundant_argument_values: false
avoid_positional_boolean_parameters: false
sort_pub_dependencies: false
sort_child_properties_last: error