forked from cloudfoundry/java-buildpack
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.rubocop.yml
More file actions
37 lines (36 loc) · 660 Bytes
/
.rubocop.yml
File metadata and controls
37 lines (36 loc) · 660 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
---
require: rubocop-rspec
AllCops:
Include:
- '**/Rakefile'
- 'rakelib/**/*'
Exclude:
- 'build/**/*'
- 'vendor/**/*'
Metrics/AbcSize:
Max: 18
Metrics/ClassLength:
Max: 200
Metrics/CyclomaticComplexity:
Max: 10
Metrics/LineLength:
Max: 120
Metrics/MethodLength:
Max: 17
Metrics/ParameterLists:
Max: 6
Metrics/PerceivedComplexity:
Max: 10
RSpec/FilePath:
Enabled: false
Style/Documentation:
Enabled: false
Style/EmptyLinesAroundBlockBody:
Exclude:
- 'spec/**/*'
Style/EmptyLinesAroundClassBody:
Enabled: false
Style/EmptyLinesAroundModuleBody:
Enabled: false
Style/MultilineOperationIndentation:
Enabled: false