-
-
Notifications
You must be signed in to change notification settings - Fork 34
Expand file tree
/
Copy path.rubocop.yml
More file actions
40 lines (30 loc) · 650 Bytes
/
Copy path.rubocop.yml
File metadata and controls
40 lines (30 loc) · 650 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
AllCops:
NewCops: enable
TargetRubyVersion: 3.0
Exclude:
- spec/fixtures/**/*
SuggestExtensions: false
Style/RegexpLiteral:
EnforcedStyle: slashes
AllowInnerSlashes: true
Style/Documentation:
Enabled: false
Style/TrailingCommaInArrayLiteral:
EnforcedStyleForMultiline: comma
Layout/SpaceInsideHashLiteralBraces:
Enabled: true
EnforcedStyle: no_space
Metrics/BlockLength:
Enabled: true
Exclude:
- spec/**/*
Metrics/CyclomaticComplexity:
Max: 12
Metrics/PerceivedComplexity:
Max: 12
Style/HashEachMethods:
Enabled: true
Style/HashTransformKeys:
Enabled: true
Style/HashTransformValues:
Enabled: true