-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.rubocop.yml
33 lines (29 loc) · 839 Bytes
/
.rubocop.yml
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
require:
- rubocop-rspec
- rubocop-faker
AllCops:
TargetRubyVersion: 3.1.2
NewCops: enable
Metrics/AbcSize: { Enabled: false }
Metrics/ClassLength: { Max: 200 }
Metrics/MethodLength: { Max: 30 }
Style/Documentation: { Enabled: false }
Style/FrozenStringLiteralComment: { Enabled: false }
Style/HashSyntax:
EnforcedShorthandSyntax: never
Style/MethodCallWithArgsParentheses:
Enabled: true
EnforcedStyle: omit_parentheses
AllowParenthesesInMultilineCall: true
AllowParenthesesInChaining: true
Style/PercentLiteralDelimiters:
PreferredDelimiters:
'%i': '()'
'%I': '()'
'%w': '()'
'%W': '()'
RSpec/BeforeAfterAll: { Enabled: false }
RSpec/DescribeClass: { Enabled: false }
RSpec/ExampleLength: { Enabled: false }
RSpec/InstanceVariable: { Enabled: false }
RSpec/MultipleExpectations: { Enabled: false }