-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.rubocop.yml
More file actions
44 lines (35 loc) · 773 Bytes
/
.rubocop.yml
File metadata and controls
44 lines (35 loc) · 773 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
---
plugins:
- rubocop-minitest
- rubocop-performance
- rubocop-rake
AllCops:
TargetRubyVersion: 3.4.0
NewCops: enable
SuggestExtensions: false
Metrics/ClassLength:
CountAsOne: ['array', 'heredoc', 'hash']
Max: 115
Metrics/ModuleLength:
CountAsOne: ['array', 'heredoc', 'hash']
Max: 115
Exclude:
- 'spec/**/*.rb'
Metrics/MethodLength:
CountAsOne: ['array', 'heredoc', 'hash']
Metrics/BlockLength:
CountAsOne: ['array', 'heredoc', 'hash']
Exclude:
- 'test/**/*'
- '*.gemspec'
Layout/LineLength:
Max: 120
AllowedPatterns: ['\A#']
Style/CommentedKeyword:
Enabled: false
Style/StringLiterals:
Enabled: true
EnforcedStyle: single_quotes
Style/StringLiteralsInInterpolation:
Enabled: true
EnforcedStyle: double_quotes