ergomentum_rubocop 0.12.0 → 0.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/default_rails.yml +42 -0
- data/lib/ergomentum_rubocop/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dc877a7e9a4f5db7f26cff224dc5389fde5efd3f80e96419436de3affb8359dc
|
4
|
+
data.tar.gz: 5fa162b9f1c32b81a72e100b3eea5c82b074cc1370a7795bf1a5782adecdd96b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b4391a9f2e7cc617fdba07a66b19b3d5309a72f9203d519ea20793f48d7457f3aca2de1c29b537aa7c78c61b75695e63c9c833cb80b3098aeb72e7a1eee72ef8
|
7
|
+
data.tar.gz: e14d417d3f748c3dda9150cac0654b3896e58485c433d09b5ac40a0bd2be295bf17549fa034e2a465e224934b2079c463f14fed19ff959ccc076d6a116acf231
|
data/config/default_rails.yml
CHANGED
@@ -4,8 +4,14 @@ require:
|
|
4
4
|
|
5
5
|
Rails/ActiveRecordCallbacksOrder:
|
6
6
|
Enabled: true
|
7
|
+
Rails/ActionControllerFlashBeforeRender: # new in 2.16
|
8
|
+
Enabled: true
|
7
9
|
Rails/ActionControllerTestCase: # new in 2.14
|
8
10
|
Enabled: true
|
11
|
+
Rails/ActionOrder: # new in 2.17
|
12
|
+
Enabled: true
|
13
|
+
Rails/ActiveSupportOnLoad: # new in 2.16
|
14
|
+
Enabled: true
|
9
15
|
Rails/AddColumnIndex: # (new in 2.11)
|
10
16
|
Enabled: true
|
11
17
|
Rails/AfterCommitOverride:
|
@@ -14,10 +20,14 @@ Rails/AttributeDefaultBlockValue: # (new in 2.9)
|
|
14
20
|
Enabled: true
|
15
21
|
Rails/CompactBlank: # new in 2.13
|
16
22
|
Enabled: true
|
23
|
+
Rails/DangerousColumnNames: # new in 2.21
|
24
|
+
Enabled: true
|
17
25
|
Rails/Delegate:
|
18
26
|
Enabled: false
|
19
27
|
Rails/DeprecatedActiveModelErrorsMethods: # new in 2.14
|
20
28
|
Enabled: true
|
29
|
+
Rails/DotSeparatedKeys: # new in 2.15
|
30
|
+
Enabled: true
|
21
31
|
Rails/DuplicateAssociation: # new in 2.14
|
22
32
|
Enabled: true
|
23
33
|
Rails/DuplicateScope: # new in 2.14
|
@@ -28,18 +38,24 @@ Rails/EagerEvaluationLogMessage: # (new in 2.11)
|
|
28
38
|
Enabled: true
|
29
39
|
Rails/EnvironmentVariableAccess: # (new in 2.10)
|
30
40
|
Enabled: false
|
41
|
+
Rails/EnvLocal: # new in 2.22
|
42
|
+
Enabled: true
|
31
43
|
Rails/ExpandedDateRange: # (new in 2.11)
|
32
44
|
Enabled: true
|
33
45
|
Rails/FilePath:
|
34
46
|
EnforcedStyle: arguments
|
35
47
|
Rails/FindById:
|
36
48
|
Enabled: true
|
49
|
+
Rails/FreezeTime: # new in 2.16
|
50
|
+
Enabled: true
|
37
51
|
Rails/I18nLazyLookup: # new in 2.14
|
38
52
|
Enabled: true
|
39
53
|
Rails/I18nLocaleAssignment: # (new in 2.11)
|
40
54
|
Enabled: true
|
41
55
|
Rails/I18nLocaleTexts: # new in 2.14
|
42
56
|
Enabled: true
|
57
|
+
Rails/IgnoredColumnsAssignment: # new in 2.17
|
58
|
+
Enabled: true
|
43
59
|
Rails/Inquiry:
|
44
60
|
Enabled: true
|
45
61
|
Rails/MailerName:
|
@@ -54,6 +70,8 @@ Rails/Pluck:
|
|
54
70
|
Enabled: true
|
55
71
|
Rails/PluckInWhere:
|
56
72
|
Enabled: true
|
73
|
+
Rails/RedundantActiveRecordAllMethod: # new in 2.21
|
74
|
+
Enabled: true
|
57
75
|
Rails/RedundantPresenceValidationOnBelongsTo: # new in 2.13
|
58
76
|
Enabled: true
|
59
77
|
Rails/RedundantTravelBack: # new in 2.12
|
@@ -62,21 +80,45 @@ Rails/RenderInline:
|
|
62
80
|
Enabled: true
|
63
81
|
Rails/RenderPlainText:
|
64
82
|
Enabled: true
|
83
|
+
Rails/ResponseParsedBody: # new in 2.18
|
84
|
+
Enabled: true
|
65
85
|
Rails/RootJoinChain: # new in 2.13
|
66
86
|
Enabled: true
|
87
|
+
Rails/RootPathnameMethods: # new in 2.16
|
88
|
+
Enabled: true
|
89
|
+
Rails/RootPublicPath: # new in 2.15
|
90
|
+
Enabled: true
|
91
|
+
Rails/SelectMap: # new in 2.21
|
92
|
+
Enabled: true
|
67
93
|
Rails/ShortI18n:
|
68
94
|
Enabled: true
|
69
95
|
Rails/SquishedSQLHeredocs:
|
70
96
|
Enabled: true
|
97
|
+
Rails/StripHeredoc: # new in 2.15
|
98
|
+
Enabled: true
|
99
|
+
Rails/ThreeStateBooleanColumn: # new in 2.19
|
100
|
+
Enabled: true
|
71
101
|
Rails/TimeZoneAssignment: # (new in 2.10)
|
72
102
|
Enabled: true
|
103
|
+
Rails/ToFormattedS: # new in 2.15
|
104
|
+
Enabled: true
|
105
|
+
Rails/TopLevelHashWithIndifferentAccess: # new in 2.16
|
106
|
+
Enabled: true
|
107
|
+
Rails/ToSWithArgument: # new in 2.16
|
108
|
+
Enabled: true
|
73
109
|
Rails/TransactionExitStatement: # new in 2.14
|
74
110
|
Enabled: true
|
75
111
|
Rails/UnusedIgnoredColumns: # (new in 2.11)
|
76
112
|
Enabled: true
|
113
|
+
Rails/UnusedRenderContent: # new in 2.21
|
114
|
+
Enabled: true
|
77
115
|
Rails/WhereEquals: # (new in 2.9)
|
78
116
|
Enabled: true
|
79
117
|
Rails/WhereExists:
|
80
118
|
Enabled: true
|
119
|
+
Rails/WhereMissing: # new in 2.16
|
120
|
+
Enabled: true
|
81
121
|
Rails/WhereNot:
|
82
122
|
Enabled: true
|
123
|
+
Rails/WhereNotWithMultipleConditions: # new in 2.17
|
124
|
+
Enabled: true
|