forked from hedudelgado/impac-express
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.rubocop.yml
44 lines (36 loc) · 763 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
40
41
42
43
44
require: rubocop-rspec
inherit_from: .rubocop_todo.yml
AllCops:
TargetRubyVersion: 2.3
DisplayCopNames: true
DisplayStyleGuide: true
Exclude:
- 'db/schema.rb'
- 'db/migrate/*'
- 'bin/**/*'
- 'node_modules/**/*'
- 'Guardfile'
Rails:
Enabled: true
# Disable for Rake tasks
Lint/HandleExceptions:
Enabled: false
Style/Documentation:
Enabled: false
# Prevent "Use nested module/class definitions instead of compact style."
Style/ClassAndModuleChildren:
Enabled: false
#Metrics/AbcSize:
# Max: 16
#
#Metrics/ClassLength:
# Max: 175
#
#Metrics/MethodLength:
# Max: 12
# Enabled disabled Cops
Style/CollectionMethods:
Enabled: true
# Do not enforce Hash Style for now
Style/SpaceInsideHashLiteralBraces:
Enabled: false