-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy path.rubocop.yml
More file actions
54 lines (40 loc) · 791 Bytes
/
.rubocop.yml
File metadata and controls
54 lines (40 loc) · 791 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
45
46
47
48
49
50
51
52
53
54
inherit_from: .rubocop_todo.yml
AllCops:
TargetRubyVersion: 2.3
Exclude:
- je
- vendor/bundle/**/*
Style/Documentation:
Enabled: false
Style/FrozenStringLiteralComment:
Enabled: false
Style/GuardClause:
Enabled: false
Exclude:
- 'lib/travis/logs/services/fetch*.rb'
Style/StringLiterals:
Enabled: false
Style/TrailingCommaInHashLiteral:
Enabled: false
Metrics/LineLength:
Max: 160
Exclude:
- 'spec/**/*'
- 'lib/travis/logs/app/opencensus.rb'
- 'lib/travis/logs/sidekiq/honeycomb.rb'
Metrics/MethodLength:
Max: 40
Metrics/ClassLength:
Max: 300
Metrics/BlockLength:
Max: 30
Exclude:
- 'spec/**/*'
Metrics/CyclomaticComplexity:
Max: 15
Metrics/PerceivedComplexity:
Max: 15
Metrics/AbcSize:
Max: 100
Metrics/ModuleLength:
Max: 120