ergomentum_rubocop 0.12.0 → 0.14.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/config/default_shared.yml +91 -0
- data/lib/ergomentum_rubocop/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5ac6df169014e183533d84491ed88824f88f553e34089f055b09dbc4a244ad58
|
4
|
+
data.tar.gz: 5f31e76593609f7b32d679270b89d414d3f439780d5d738eb31afc1168f7062c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f8836cae2fb70bd89fd4dba47d82dfff3976baadb99dc189d1fa9acc2125ae738663f89bc81b1dca374655ea8b98b7fc5f46befc10d076cbc8013288c8bc8d31
|
7
|
+
data.tar.gz: c5c616f41a976750899ad521818e6c1113de04004452c965f45272fabe5f5005e9c51f4b5d745b9ebca9ebbdcca8febbc02d7ff18c972fb653cb22a1269516bf
|
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
|
data/config/default_shared.yml
CHANGED
@@ -1,10 +1,43 @@
|
|
1
1
|
---
|
2
2
|
require:
|
3
3
|
- rubocop-performance
|
4
|
+
- rubocop-capybara
|
5
|
+
- rubocop-factory_bot
|
6
|
+
- rubocop-rspec
|
4
7
|
AllCops:
|
5
8
|
Exclude:
|
6
9
|
- vendor/**/*
|
7
10
|
- node_modules/**/*
|
11
|
+
Capybara/ClickLinkOrButtonStyle: # new in 2.19
|
12
|
+
Enabled: true
|
13
|
+
Capybara/MatchStyle: # new in 2.17
|
14
|
+
Enabled: true
|
15
|
+
Capybara/NegationMatcher: # new in 2.14
|
16
|
+
Enabled: true
|
17
|
+
Capybara/SpecificActions: # new in 2.14
|
18
|
+
Enabled: true
|
19
|
+
Capybara/SpecificFinders: # new in 2.13
|
20
|
+
Enabled: true
|
21
|
+
Capybara/SpecificMatcher: # new in 2.12
|
22
|
+
Enabled: true
|
23
|
+
Capybara/RSpec/HaveSelector: # new in 2.19
|
24
|
+
Enabled: true
|
25
|
+
Capybara/RSpec/PredicateMatcher: # new in 2.19
|
26
|
+
Enabled: true
|
27
|
+
FactoryBot/AssociationStyle: # new in 2.23
|
28
|
+
Enabled: true
|
29
|
+
FactoryBot/ConsistentParenthesesStyle: # new in 2.14
|
30
|
+
Enabled: true
|
31
|
+
FactoryBot/FactoryAssociationWithStrategy: # new in 2.23
|
32
|
+
Enabled: true
|
33
|
+
FactoryBot/FactoryNameStyle: # new in 2.16
|
34
|
+
Enabled: true
|
35
|
+
FactoryBot/IdSequence: # new in <<next>>
|
36
|
+
Enabled: true
|
37
|
+
FactoryBot/RedundantFactoryOption: # new in 2.23
|
38
|
+
Enabled: true
|
39
|
+
FactoryBot/SyntaxMethods: # new in 2.7
|
40
|
+
Enabled: true
|
8
41
|
Gemspec/DeprecatedAttributeAssignment: # new in 1.30
|
9
42
|
Enabled: true
|
10
43
|
Gemspec/DevelopmentDependencies: # new in 1.44
|
@@ -171,6 +204,64 @@ Performance/StringInclude:
|
|
171
204
|
Enabled: true
|
172
205
|
Performance/Sum:
|
173
206
|
Enabled: true
|
207
|
+
RSpec/BeEmpty: # new in 2.20
|
208
|
+
Enabled: true
|
209
|
+
RSpec/BeEq: # new in 2.9.0
|
210
|
+
Enabled: true
|
211
|
+
RSpec/BeNil: # new in 2.9.0
|
212
|
+
Enabled: true
|
213
|
+
RSpec/ChangeByZero: # new in 2.11
|
214
|
+
Enabled: true
|
215
|
+
RSpec/ContainExactly: # new in 2.19
|
216
|
+
Enabled: true
|
217
|
+
RSpec/DuplicatedMetadata: # new in 2.16
|
218
|
+
Enabled: true
|
219
|
+
RSpec/EmptyMetadata: # new in 2.24
|
220
|
+
Enabled: true
|
221
|
+
RSpec/Eq: # new in 2.24
|
222
|
+
Enabled: true
|
223
|
+
RSpec/ExcessiveDocstringSpacing: # new in 2.5
|
224
|
+
Enabled: true
|
225
|
+
RSpec/IdenticalEqualityAssertion: # new in 2.4
|
226
|
+
Enabled: true
|
227
|
+
RSpec/IndexedLet: # new in 2.20
|
228
|
+
Enabled: true
|
229
|
+
RSpec/MatchArray: # new in 2.19
|
230
|
+
Enabled: true
|
231
|
+
RSpec/MetadataStyle: # new in 2.24
|
232
|
+
Enabled: true
|
233
|
+
RSpec/NoExpectationExample: # new in 2.13
|
234
|
+
Enabled: true
|
235
|
+
RSpec/PendingWithoutReason: # new in 2.16
|
236
|
+
Enabled: true
|
237
|
+
RSpec/ReceiveMessages: # new in 2.23
|
238
|
+
Enabled: true
|
239
|
+
RSpec/RedundantAround: # new in 2.19
|
240
|
+
Enabled: true
|
241
|
+
RSpec/SkipBlockInsideExample: # new in 2.19
|
242
|
+
Enabled: true
|
243
|
+
RSpec/SortMetadata: # new in 2.14
|
244
|
+
Enabled: true
|
245
|
+
RSpec/SpecFilePathFormat: # new in 2.24
|
246
|
+
Enabled: true
|
247
|
+
RSpec/SpecFilePathSuffix: # new in 2.24
|
248
|
+
Enabled: true
|
249
|
+
RSpec/SubjectDeclaration: # new in 2.5
|
250
|
+
Enabled: true
|
251
|
+
RSpec/VerifiedDoubleReference: # new in 2.10.0
|
252
|
+
Enabled: true
|
253
|
+
RSpec/Rails/AvoidSetupHook: # new in 2.4
|
254
|
+
Enabled: true
|
255
|
+
RSpec/Rails/HaveHttpStatus: # new in 2.12
|
256
|
+
Enabled: true
|
257
|
+
RSpec/Rails/InferredSpecType: # new in 2.14
|
258
|
+
Enabled: true
|
259
|
+
RSpec/Rails/MinitestAssertions: # new in 2.17
|
260
|
+
Enabled: true
|
261
|
+
RSpec/Rails/NegationBeValid: # new in 2.23
|
262
|
+
Enabled: true
|
263
|
+
RSpec/Rails/TravelAround: # new in 2.19
|
264
|
+
Enabled: true
|
174
265
|
Security/CompoundHash: # new in 1.28
|
175
266
|
Enabled: true
|
176
267
|
Security/IoMethods: # new in 1.22
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ergomentum_rubocop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.14.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ERGOMENTUM
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-12-
|
11
|
+
date: 2023-12-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|