-
-
Notifications
You must be signed in to change notification settings - Fork 49
Expand file tree
/
Copy pathanalysis_options.yaml
More file actions
34 lines (28 loc) · 817 Bytes
/
analysis_options.yaml
File metadata and controls
34 lines (28 loc) · 817 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
# lint analysis
include: package:lint/analysis_options.yaml
analyzer:
errors:
depend_on_referenced_packages: ignore
missing_required_param: error
missing_return: error
must_be_immutable: error
exclude:
- "**/*.g.dart"
- "**/*.freezed.dart"
- "**/*.pb.dart"
- "**/*.pbenum.dart"
- "**/*.pbgrpc.dart"
- "**/*.pbjson.dart"
- "**/*.gr.dart"
- "**/*.config.dart"
linter:
rules:
# Use parameter order as in json response
# always_put_required_named_parameters_first: false
avoid_classes_with_only_static_members: false
sort_constructors_first: true
# Good packages document everything
public_member_api_docs: false
avoid_dynamic_calls: false
use_build_context_synchronously: false
avoid_positional_boolean_parameters: false