-
Notifications
You must be signed in to change notification settings - Fork 3
/
.rubocop.yml
46 lines (33 loc) · 917 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
42
43
44
45
46
AllCops:
TargetRubyVersion: 2.4.2
inherit_from: .rubocop_todo.yml
Layout/EmptyLinesAroundClassBody:
EnforcedStyle: empty_lines
Layout/EmptyLinesAroundModuleBody:
EnforcedStyle: empty_lines
Layout/MultilineMethodCallIndentation:
EnforcedStyle: indented
Metrics/BlockLength:
Exclude:
- lib/eye/patch/capistrano.rb
- lib/eye/patch/capistrano3.rb
- lib/eye/patch/overrides.rb
- test/**/*.rb
Metrics/CyclomaticComplexity:
Exclude:
- lib/eye/patch/overrides.rb
Metrics/PerceivedComplexity:
Exclude:
- lib/eye/patch/overrides.rb
Style/Documentation:
Enabled: false
Style/StringLiterals:
EnforcedStyle: double_quotes
Style/ClassAndModuleChildren:
Enabled: false
Style/TrailingCommaInArguments:
EnforcedStyleForMultiline: comma
Style/TrailingCommaInArrayLiteral:
EnforcedStyleForMultiline: comma
Style/TrailingCommaInHashLiteral:
EnforcedStyleForMultiline: comma