-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrubocop-rails.yml
83 lines (56 loc) · 1.3 KB
/
rubocop-rails.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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
# You can find all configuration options for rubocop-rails here: https://docs.rubocop.org/rubocop-rails/cops_rails.html
Rails/ActiveRecordCallbacksOrder:
Enabled: true
Rails/AddColumnIndex: # (new in 2.11)
Enabled: true
Rails/AfterCommitOverride:
Enabled: true
Rails/AttributeDefaultBlockValue: # (new in 2.9)
Enabled: true
Rails/DefaultScope:
Enabled: true
Rails/EagerEvaluationLogMessage: # (new in 2.11)
Enabled: true
Rails/ExpandedDateRange: # (new in 2.11)
Enabled: true
Rails/FindById:
Enabled: true
Rails/I18nLocaleAssignment: # (new in 2.11)
Enabled: true
Rails/Inquiry:
Enabled: true
Rails/MailerName:
Enabled: true
Rails/MatchRoute:
Enabled: true
Rails/NegateInclude:
Enabled: true
Rails/OrderById:
Enabled: true
Rails/Pluck:
Enabled: true
Rails/PluckId:
Enabled: true
Rails/PluckInWhere:
Enabled: true
Rails/RenderInline:
Enabled: true
Rails/RenderPlainText:
Enabled: true
Rails/SaveBang:
Enabled: true
AllowImplicitReturn: false
Rails/ShortI18n:
Enabled: true
Rails/SquishedSQLHeredocs: # (new in 2.8)
Enabled: true
Rails/TimeZoneAssignment: # (new in 2.10)
Enabled: true
Rails/UnusedIgnoredColumns: # (new in 2.11)
Enabled: true
Rails/WhereEquals: # (new in 2.9)
Enabled: true
Rails/WhereExists:
Enabled: true
Rails/WhereNot:
Enabled: true