-
-
Notifications
You must be signed in to change notification settings - Fork 321
Expand file tree
/
Copy pathanalysis_options.yaml
More file actions
34 lines (32 loc) · 842 Bytes
/
analysis_options.yaml
File metadata and controls
34 lines (32 loc) · 842 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
34
include: package:lints/recommended.yaml
analyzer:
errors:
missing_return: error
must_be_immutable: error
must_call_super: error
invalid_use_of_protected_member: error
parameter_assignments: error
sort_unnamed_constructors_first: error
sort_pub_dependencies: ignore
always_use_package_imports: error
invalid_annotation_target: ignore
type_annotate_public_apis: false
use_build_context_synchronously: warning
fix:
data:
- always_put_required_named_parameters_first
- avoid_redundant_argument_values
- prefer_const_constructors
- use_key_in_widget_constructors
dart:
code-actions-on-save:
source:
fix-all: true
organize-imports: true
fix-on-save:
- implicit-casts: false
fix:
sort-members: true
use-rational-asserts: true
# plugins:
# - custom_lint