forked from scottohara/loot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
45 lines (37 loc) · 1.32 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
inherit_gem:
rubocop-config-oharagroup:
- default.yml
- rails.yml
AllCops:
Exclude:
- 'bin/*'
- 'config/**/*'
- 'db/migrate/*'
- 'db/schema.rb'
- 'node_modules/**/*'
- 'vendor/**/*'
# ------------------------------------------------------------
# Cops that rubocop disables by default, but we want to enable
# ------------------------------------------------------------
# Required for as_json methods
Style/OptionHash:
Enabled: false
# ------------------------------------------------------------
# END disabled by default cops
# ------------------------------------------------------------
# Cops that rubocop enables by default, but we want to disable
# ------------------------------------------------------------
# Needed for update_all and update_column used in a few places
Rails/SkipsModelValidations:
Enabled: false
# ------------------------------------------------------------
# END enabled by default cops
# ------------------------------------------------------------
# Cops that we want to reconfigure
# ------------------------------------------------------------
# Indent arrays consistently
Layout/IndentArray:
EnforcedStyle: consistent
# ------------------------------------------------------------
# END reconfigured cops
# ------------------------------------------------------------