-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
35 lines (27 loc) · 1.01 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
AllCops:
# Suppress complaints about post-2.0 syntax
TargetRubyVersion: 2.2
# Disable line-length check; it's too easy for the cure to be worse than the disease
Metrics/LineLength:
Enabled: False
# Disable problematic module documentation check (see https://github.com/bbatsov/rubocop/issues/947)
Style/Documentation:
Enabled: false
# Allow one line around class body (Style/EmptyLines will still disallow two or more)
Layout/EmptyLinesAroundClassBody:
Enabled: false
# Allow one line around module body (Style/EmptyLines will still disallow two or more)
Layout/EmptyLinesAroundModuleBody:
Enabled: false
# Allow one line around block body (Style/EmptyLines will still disallow two or more)
Layout/EmptyLinesAroundBlockBody:
Enabled: false
# Unclear why it's a good idea to give parameters semantically meaningless names
Style/SingleLineBlockParams:
Enabled: false
# Produces monsters
Layout/MultilineOperationIndentation:
Enabled: false
# 👎 to cultural imperialism
Style/AsciiComments:
Enabled: false