forked from erluxman/pdf_flutter
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathanalysis_options.yaml
More file actions
32 lines (22 loc) · 859 Bytes
/
analysis_options.yaml
File metadata and controls
32 lines (22 loc) · 859 Bytes
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
include: package:pedantic/analysis_options.yaml
# Not happy with the default? Customize the rules depending on your needs.
# Here are some examples:
linter:
rules:
# Good packages document everything
public_member_api_docs: false
# Blindly follow the Flutter code style, which prefers types everywhere
always_specify_types: false
# Back to the 80s
lines_longer_than_120_chars: true
#prefer relative imports instead of absolute
prefer_relative_imports: true
# Use parameter order as in json response
always_put_required_named_parameters_first: true
# Util classes are awesome!
avoid_classes_with_only_static_members: false
prefer_const_declarations: true
prefer_const_constructors: true
use_rethrow_when_possible: true
unnecessary_null_in_if_null_operators: true
avoid_print: true