-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
60 lines (43 loc) · 1.08 KB
/
.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
AllCops:
TargetRubyVersion: 2.3
Layout/EmptyLinesAroundModuleBody:
EnforcedStyle: empty_lines_except_namespace
Layout/FirstParameterIndentation:
EnforcedStyle: consistent
Layout/AlignParameters:
EnforcedStyle: with_fixed_indentation
Layout/EmptyLinesAroundClassBody:
EnforcedStyle: empty_lines_except_namespace
Layout/MultilineMethodCallBraceLayout:
EnforcedStyle: symmetrical
Layout/SpaceInsideHashLiteralBraces:
EnforcedStyle: compact
Layout/MultilineOperationIndentation:
EnforcedStyle: indented
Layout/IndentArray:
EnforcedStyle: consistent
Style/TrivialAccessors:
Enabled: false
Style/TrailingCommaInArrayLiteral:
EnforcedStyleForMultiline: comma
Style/TrailingCommaInHashLiteral:
EnforcedStyleForMultiline: comma
Style/RegexpLiteral:
EnforcedStyle: mixed
Style/GuardClause:
Enabled: false
Style/WordArray:
Exclude:
- 'Rakefile'
- 'tasks/**/*.rake'
Metrics/BlockLength:
Exclude:
- 'Rakefile'
- 'tasks/**/*.rake'
- 'spec/**/*.rb'
Metrics/ModuleLength:
Exclude:
- 'spec/**/*.rb'
Metrics/LineLength:
Exclude:
- 'spec/**/*.rb'