rubocop-iknow 0.0.8 → 0.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/rubocop.yml +17 -0
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3b70c58c1e430d7c9434c09a3a1141725fed4a204c4cad6ea90484587be54e3b
4
- data.tar.gz: a1f5fcdb9f6f3d07ea039c672a3c6afc700a88bae8109041d90014491580ac7b
3
+ metadata.gz: ffa087314e293e1f086b60edd2675c7121a9863f0ed23373963cfb8dbe3c9236
4
+ data.tar.gz: 16167a4f521f1042e51f19fbc1dccc81098ccc1b60ea9793369cdf89e6ade56e
5
5
  SHA512:
6
- metadata.gz: 245e2a4dd0685e8006b5e77fcb00d3b7341f2deb818e5126c6f88249f80ed5e2323e0b38326eafec3127f9c327b4b1f03c3d9cfdc876841d66f03bc907d6cba6
7
- data.tar.gz: '08240fce79266a32529f29f7301ece97d1a7a92cbc82747eb8ef54d52437563360c92f25db4dd6a0b46b3f02c1a5e739f0fd2eaa683f12945ec1d1b5671f192d'
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.8
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: 2020-10-08 00:00:00.000000000 Z
11
+ date: 2022-04-11 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: edge@iknow.jp