forked from tablexi/restforce-db
/
.rubocop.yml
39 lines (28 loc) · 674 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
require:
- ./.rubocop/custom/method_documentation.rb
AllCops:
Exclude:
- ".bundle/**/*"
- "vendor/**/*"
Metrics/AbcSize:
Max: 25
Metrics/LineLength:
Enabled: false
Metrics/MethodLength:
Max: 20
Style/EmptyLinesAroundBlockBody:
Exclude:
# These are naturally DSL-y, and so let's be lenient
- "test/**/*"
Style/EmptyLinesAroundClassBody:
EnforcedStyle: empty_lines
Style/EmptyLinesAroundModuleBody:
EnforcedStyle: empty_lines
Style/SignalException:
EnforcedStyle: only_raise
Style/StringLiterals:
EnforcedStyle: double_quotes
Style/TrailingComma:
EnforcedStyleForMultiline: comma
Style/TrivialAccessors:
ExactNameMatch: true