-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathanalysis_options.yaml
More file actions
33 lines (29 loc) · 729 Bytes
/
analysis_options.yaml
File metadata and controls
33 lines (29 loc) · 729 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
33
include: package:flutter_lints/flutter.yaml
analyzer:
exclude:
- "**/*.g.dart"
- "**/*.freezed.dart"
language:
strict-casts: true
strict-inference: true
strict-raw-types: true
linter:
rules:
# Style
prefer_single_quotes: true
prefer_const_constructors: true
prefer_const_declarations: true
prefer_final_locals: true
prefer_final_fields: true
sort_constructors_first: true
use_super_parameters: true
unnecessary_late: true
require_trailing_commas: true
# Safety
avoid_print: true
avoid_relative_lib_imports: true
cancel_subscriptions: true
close_sinks: true
unawaited_futures: true
# Documentation
public_member_api_docs: false