This repository has been archived by the owner on Nov 20, 2019. It is now read-only.
forked from CDLUC3/dashv2
-
Notifications
You must be signed in to change notification settings - Fork 9
/
.rubocop.yml
58 lines (46 loc) · 1.56 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
AllCops:
Exclude:
- 'bin/**/*'
- 'config/**/*'
- 'db/**/*'
- 'script/**/*'
- 'vendor/**/*'
- 'documentation/**/*'
# Suppress complaints about post-2.0 syntax
TargetRubyVersion: 2.2
# Allow one line around block body (Layout/EmptyLines will still disallow two or more)
Layout/EmptyLinesAroundBlockBody:
Enabled: false
# Allow one line around class body (Layout/EmptyLines will still disallow two or more)
Layout/EmptyLinesAroundClassBody:
Enabled: false
# Allow one line around module body (Layout/EmptyLines will still disallow two or more)
Layout/EmptyLinesAroundModuleBody:
Enabled: false
# Make indents consistent regardless of the lengths of variables and method names and whatnot
Layout/MultilineMethodCallIndentation:
EnforcedStyle: indented
# Produces monsters
Layout/MultilineOperationIndentation:
Enabled: false
# Reasonable line-length check; it's too easy for the cure to be worse than the disease
Metrics/LineLength:
Max: 150
# 👎 to cultural imperialism
Style/AsciiComments:
Enabled: false
# Disable problematic module documentation check (see https://github.com/bbatsov/rubocop/issues/947)
Style/Documentation:
Enabled: false
# Requiring the lambda() method just makes wordy calls wordier
Style/Lambda:
EnforcedStyle: literal
# Unclear why it's a good idea to give parameters semantically meaningless names
Style/SingleLineBlockParams:
Enabled: false
# Confusing and weird
Naming/VariableNumber:
Enabled: false
# Allow some special handling for engines
Bundler/OrderedGems:
TreatCommentsAsGroupSeparators: true