forked from workos/workos-ruby
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.rubocop.yml
More file actions
34 lines (33 loc) · 823 Bytes
/
.rubocop.yml
File metadata and controls
34 lines (33 loc) · 823 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
inherit_from: .rubocop_todo.yml
Layout/DotPosition:
EnforcedStyle: trailing
Layout/EmptyLineAfterMagicComment:
Enabled: false
Layout/EmptyLines:
Enabled: false
Layout/LineLength:
AllowedPatterns:
- 'VCR\.use_cassette'
- '(\A|\s)/.*?/'
Metrics/BlockLength:
AllowedMethods: ['describe', 'context', 'before', 'it']
Metrics/ClassLength:
Enabled: false
Metrics/CyclomaticComplexity:
Enabled: false
Metrics/MethodLength:
Enabled: false
Metrics/ModuleLength:
Enabled: false
Metrics/ParameterLists:
Max: 6
Naming/ConstantName:
Exclude:
- 'lib/workos/user_management.rb'
- 'lib/workos/types/*.rb'
Style/TrailingCommaInArguments:
EnforcedStyleForMultiline: 'consistent_comma'
Style/TrailingCommaInHashLiteral:
EnforcedStyleForMultiline: 'consistent_comma'
AllCops:
TargetRubyVersion: 3.1