forked from simple-hub-organization/cbj_hub
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathanalysis_options.yaml
38 lines (29 loc) · 907 Bytes
/
analysis_options.yaml
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
35
36
37
38
# Defines a default set of lint rules enforced for
# projects at Google. For details and rationale,
# see https://github.com/dart-lang/pedantic#enabled-lints.
#include: package:pedantic/analysis_options.yaml
# lint analysis
include: package:lint/analysis_options.yaml
analyzer:
errors:
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"
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
prefer_single_quotes: true
# Good packages document everything
public_member_api_docs: true
lines_longer_than_80_chars: true