-
Notifications
You must be signed in to change notification settings - Fork 199
/
.rubocop.yml
41 lines (31 loc) · 922 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
34
35
36
37
38
39
40
41
inherit_from: .rubocop_todo.yml
AllCops:
TargetRubyVersion: 2.5.0
SuggestExtensions: false
NewCops: disable
Layout/LineLength:
Enabled: false
Style/NumericPredicate:
Description: 'This adds no efficiency nor space saving'
Enabled: false
Style/ZeroLengthPredicate:
Description: 'This adds no efficiency nor space saving'
Enabled: false
Style/StderrPuts:
Description: 'Replaces $stderr.puts with warn() which can suppress messages'
Enabled: false
Metrics/AbcSize:
Enabled: false
Description: 'This is often a red-herring'
Metrics/MethodLength:
Description: 'The style guide suggests 10 lines, bumping it up to the current maximum'
Max: 21
Metrics/BlockLength:
Description: 'The style guide suggests 10 lines, bumping it up to the current maximum'
Max: 135
Layout/CommentIndentation:
Exclude:
- 'spec/spec_helper.rb'
Style/BlockComments:
Exclude:
- 'spec/spec_helper.rb'