-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.rubocop.yml
35 lines (28 loc) · 1.11 KB
/
.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
34
35
require:
- rubocop-rspec
- rubocop-rake
AllCops:
TargetRubyVersion: 3.2
NewCops: enable
Style/StringLiterals:
EnforcedStyle: double_quotes
Style/StringLiteralsInInterpolation:
EnforcedStyle: double_quotes
Layout/LineLength:
Max: 120
Metrics/AbcSize: { Enabled: false }
Metrics/BlockLength: { Enabled: false }
Metrics/ClassLength: { Enabled: false }
Metrics/CyclomaticComplexity: { Enabled: false }
Metrics/MethodLength: { Enabled: false }
Metrics/PerceivedComplexity: { Enabled: false }
Style/FrozenStringLiteralComment: { Enabled: false } # Not useful for Ruby 3.2 and above, which is what this gem targets
Gemspec/DependencyVersion: { Enabled: true }
Lint/HeredocMethodCallPosition: { Enabled: true }
Lint/NumberConversion: { Enabled: true }
Naming/InclusiveLanguage: { Enabled: true }
Style/AutoResourceCleanup: { Enabled: true }
Style/CollectionMethods: { Enabled: true }
RSpec/NestedGroups: { Enabled: false }
RSpec/ExampleLength: { Enabled: false }
RSpec/MultipleExpectations: { Enabled: false }