-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathanalysis_options.yaml
43 lines (29 loc) · 1.12 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
include: package:lint/analysis_options.yaml
linter:
rules:
# Use parameter order as in json response
always_put_required_named_parameters_first: false
# Util classes are awesome!
avoid_classes_with_only_static_members: false
# Always use Single quotes
prefer_single_quotes: true
avoid_escaping_inner_quotes: false
# Blindly follow the Flutter code style, which prefers types everywhere
always_specify_types: true
avoid_void_async: false
# To support async redux naming conventions
file_names: false
# Disable it to be able to pass parameters to routes
no_logic_in_create_state: false
# I like conditional expressions
prefer_if_elements_to_conditional_expressions: false
require_trailing_commas: true
sized_box_for_whitespace: true
# Allow boolean vars to be positional
avoid_positional_boolean_parameters: false
# Makes code more verbose
avoid_redundant_argument_values: false
# Don't want to sort packages alphabetically
sort_pub_dependencies: false
# Somtimes we need to catch specific errors only
avoid_catching_errors: false