-
-
Notifications
You must be signed in to change notification settings - Fork 37
Expand file tree
/
Copy pathanalysis_options.yaml
More file actions
23 lines (20 loc) · 790 Bytes
/
analysis_options.yaml
File metadata and controls
23 lines (20 loc) · 790 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
include: package:lint/analysis_options.yaml
# Packages, that may be distributed (i.e. via pub.dev) should use the package
# version, resulting in a better pub score.
# include: package:lint/analysis_options_package.yaml
# You might want to exclude auto-generated files from dart analysis
analyzer:
exclude:
#- '**.freezed.dart'
# You can customize the lint rules set to your own liking. A list of all rules
# can be found at https://dart-lang.github.io/linter/lints/options/options.html
linter:
rules:
sort_constructors_first: true
prefer_single_quotes: true
prefer_relative_imports: true
always_use_package_imports: false
avoid_relative_lib_imports: false
avoid_print: false
always_specify_types: true
avoid_classes_with_only_static_members: false