rubocop-iknow 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/rubocop.yml +17 -0
- 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: ffa087314e293e1f086b60edd2675c7121a9863f0ed23373963cfb8dbe3c9236
|
4
|
+
data.tar.gz: 16167a4f521f1042e51f19fbc1dccc81098ccc1b60ea9793369cdf89e6ade56e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f3d1a3257ef3561407120786e6499b000218b85923eed9ada1852dad8411a32a29ffb3a165736eda6afcefd1222c0ea5be9cb1f3d11b1268235c8abe98c2a267
|
7
|
+
data.tar.gz: 598cd7700e49deaaac0d9141e4eb02d376400456bee59fff86951f9d3773d82e1d1bde73efd50b97c8380643c239caabc985a81608d8557081864ee1504707c6
|
data/rubocop.yml
CHANGED
@@ -2,6 +2,9 @@ AllCops:
|
|
2
2
|
TargetRubyVersion: 2.5
|
3
3
|
NewCops: enable
|
4
4
|
|
5
|
+
Layout/EmptyLineAfterMagicComment:
|
6
|
+
Severity: error
|
7
|
+
|
5
8
|
Layout/EmptyLinesAroundExceptionHandlingKeywords:
|
6
9
|
Enabled: false
|
7
10
|
|
@@ -45,6 +48,9 @@ Layout/MultilineMethodDefinitionBraceLayout:
|
|
45
48
|
Layout/SpaceInsideRangeLiteral:
|
46
49
|
Enabled: false
|
47
50
|
|
51
|
+
Layout/TrailingWhitespace:
|
52
|
+
Severity: error
|
53
|
+
|
48
54
|
Lint/AmbiguousBlockAssociation:
|
49
55
|
# In practise this rule seems overly restrictive for
|
50
56
|
# DSLs like RSpec that avoid parens.
|
@@ -144,6 +150,9 @@ Style/ExplicitBlockArgument:
|
|
144
150
|
# This goes too far by demanding expensive block allocation always
|
145
151
|
Enabled: false
|
146
152
|
|
153
|
+
Style/FrozenStringLiteralComment:
|
154
|
+
Severity: error
|
155
|
+
|
147
156
|
Style/GuardClause:
|
148
157
|
# This is too prescriptive
|
149
158
|
Enabled: false
|
@@ -179,6 +188,9 @@ Style/LambdaCall:
|
|
179
188
|
Style/MultilineBlockChain:
|
180
189
|
Enabled: false
|
181
190
|
|
191
|
+
Style/MutableConstant:
|
192
|
+
Severity: error
|
193
|
+
|
182
194
|
Style/NonNilCheck:
|
183
195
|
Enabled: false
|
184
196
|
|
@@ -228,9 +240,11 @@ Style/StringConcatenation:
|
|
228
240
|
|
229
241
|
Style/StringLiterals:
|
230
242
|
Enabled: true
|
243
|
+
Severity: error
|
231
244
|
|
232
245
|
Style/StringLiteralsInInterpolation:
|
233
246
|
Enabled: true
|
247
|
+
Severity: error
|
234
248
|
|
235
249
|
Style/SymbolArray:
|
236
250
|
Enabled: false
|
@@ -246,12 +260,15 @@ Style/TernaryParentheses:
|
|
246
260
|
EnforcedStyle: require_parentheses_when_complex
|
247
261
|
|
248
262
|
Style/TrailingCommaInArguments:
|
263
|
+
Severity: error
|
249
264
|
EnforcedStyleForMultiline: comma
|
250
265
|
|
251
266
|
Style/TrailingCommaInArrayLiteral:
|
267
|
+
Severity: error
|
252
268
|
EnforcedStyleForMultiline: consistent_comma
|
253
269
|
|
254
270
|
Style/TrailingCommaInHashLiteral:
|
271
|
+
Severity: error
|
255
272
|
EnforcedStyleForMultiline: comma
|
256
273
|
|
257
274
|
Style/TrailingUnderscoreVariable:
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-iknow
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- iKnow Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-04-11 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description:
|
14
14
|
email: edge@iknow.jp
|