-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy path.rubocop.yml
More file actions
49 lines (39 loc) · 969 Bytes
/
.rubocop.yml
File metadata and controls
49 lines (39 loc) · 969 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
AllCops:
NewCops: enable
TargetRubyVersion: 3.2
SuggestExtensions: false
# Rails has a different rubocop expectation
Exclude:
- 'rails_app/**/*'
# Don't need super for activities or workflows
Lint/MissingSuper:
AllowedParentClasses:
- Temporalio::Activity::Definition
- Temporalio::Workflow::Definition
# The default is too small and triggers simply setting lots of values on a proto
Metrics/AbcSize:
Max: 200
# The default is too small
Metrics/BlockLength:
Max: 100
# The default is too small
Metrics/ClassLength:
Max: 1000
# The default is too small
Metrics/CyclomaticComplexity:
Max: 100
# The default is too small
Metrics/MethodLength:
Max: 100
# The default is too small
Metrics/ModuleLength:
Max: 1000
# The default is too small
Metrics/PerceivedComplexity:
Max: 40
# Don't need API docs for samples
Style/Documentation:
Enabled: false
# Don't need API docs for samples
Style/DocumentationMethod:
Enabled: false