forked from decko-commons/decko
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.rubocop.yml
More file actions
32 lines (32 loc) · 722 Bytes
/
Copy path.rubocop.yml
File metadata and controls
32 lines (32 loc) · 722 Bytes
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
require:
# - rubocop-decko
- rubocop-rspec
inherit_from: .ruby-style.yml
Layout/IndentationConsistency:
AutoCorrect: false
Style/MutableConstant:
AutoCorrect: false
Style/MixinUsage:
Enabled: false
Style/ClassVars:
Enabled: false
Style/Documentation:
Enabled: false
Lint/ScriptPermission:
Enabled: false
Naming/MethodParameterName:
Enabled: false
Naming/AccessorMethodName:
Enabled: false
# Decko/ViewLength:
# Description: Avoid views longer than 15 lines of code.
# Enabled: true
# CountComments: false
# Max: 15
# Decko/EventLength:
# Description: Avoid events longer than 10 lines of code.
# Enabled: true
# CountComments: false
# Max: 10
AllCops:
TargetRubyVersion: 2.5