-
Notifications
You must be signed in to change notification settings - Fork 27
/
.rubocop_todo.yml
62 lines (45 loc) · 929 Bytes
/
.rubocop_todo.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
59
60
61
62
# TODOs
# Lots of line are too long too.
#
Layout/LineLength:
Max: 325
Metrics/BlockLength:
Max: 110
Metrics/ClassLength:
Max: 600
Metrics/ModuleLength:
Max: 225
# It's a very complicated application...
#
Metrics/CyclomaticComplexity:
Max: 20
Metrics/PerceivedComplexity:
Max: 25
# We don't want to change previous migrations...
#
Rails/CreateTableWithTimestamps:
Enabled: false
Rails/BulkChangeTable:
Enabled: false
Rails/ReversibleMigration:
Enabled: false
Rails/NotNullColumn:
Enabled: false
Rails/ThreeStateBooleanColumn:
Enabled: false
# The models need to be fixed anyway
#
Rails/UniqueValidationWithoutIndex:
Enabled: false
Rails/HasManyOrHasOneDependent:
Enabled: false
Rails/HasAndBelongsToMany:
Enabled: false
Rails/InverseOf:
Enabled: false
# We have too many specs with too many lets
#
RSpec/MultipleMemoizedHelpers:
Enabled: false
RSpec/AnyInstance:
Enabled: false