meowcop 2.13.0 → 3.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e75820ead7209002c4499e5e22276d9c497f0644a7f4e1f52916bd527a269599
4
- data.tar.gz: bc415579d007e1c2ed5831f514212fcfdf4c8883f2075757af4606f7845a6957
3
+ metadata.gz: 41e49f5b2abbc423bc96b30babdac3777ba9ac3989a37180252b6091ef9becab
4
+ data.tar.gz: e12f696500db0eca1b96ce6a3a67e4f618186c7587dd0d22acd3299cc74323bc
5
5
  SHA512:
6
- metadata.gz: 9b57407ea836ecacf063924b3cae41699a5709dd6259faa94307b27950e26bcaa2064a40e0959e9f1edd8062ea43b637453da99ac7fe529178fbddf78c7b2b7e
7
- data.tar.gz: a7fecf64f6d3788c0bfd9479909231e16157552829b8be9f12cbe52ee076a1970a5434e22213189c84bc639ad21b361a875fc10b40b2840e0f629373c728a0d3
6
+ metadata.gz: 394318ae244613a5aa957b75d530822cfe6b0843c3102adcd961eb821f67ca2e0dc53fb978376d7ff4692d203daadd07e34ff02ebcb15c9bf9d701679d05c41e
7
+ data.tar.gz: f1b7e1e76a3ffb6138a2c0b25228dd7817cba07c199a3885d82cb8a024f2d9ecb9f74251f1c02be2644a304be7f03069e482b2ddb42672560912ced4946e7a34
data/README.md CHANGED
@@ -2,16 +2,16 @@
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/meowcop.svg)](https://badge.fury.io/rb/meowcop)
4
4
 
5
- MeowCop is a gem for shareable [RuboCop](https://www.rubocop.org) configuration, it focuses [Lint](https://en.wikipedia.org/wiki/Lint_(software)).
6
- It's recommended by Sider.
5
+ MeowCop is a gem for shareable [RuboCop](https://rubocop.org) configuration, it focuses on [lint](https://en.wikipedia.org/wiki/Lint_(software)) (not style).
6
+ It's recommended by [Sider](https://sider.review).
7
7
 
8
8
  ## Design
9
9
 
10
- RuboCop has many stylistic rules (RuboCop call a rule "Cop"). ["Style Cops"](https://www.rubocop.org/en/stable/cops_style/) provide one of several settings.
10
+ RuboCop has many stylistic rules (RuboCop calls a rule "Cop"). ["Style Cops"](https://docs.rubocop.org/rubocop/cops_style.html) provide one of several settings.
11
11
  So, we encounter many many warnings when we introduce RuboCop. The cause is a mismatch between the RuboCop's default settings and your project's coding style.
12
12
 
13
13
  In the configuration of MeowCop, almost all stylistic rules are disabled. Because such rules are almost specific for your project.
14
- If you want, you can use RuboCop as a **Linter** without many noisy warnings.
14
+ If you want, you can use RuboCop as a **linter** without many noisy warnings.
15
15
 
16
16
  In contrast, if you want to use RuboCop as a style checker, we recommend [Gry](https://github.com/pocke/gry).
17
17
 
@@ -25,13 +25,13 @@ gem 'meowcop'
25
25
 
26
26
  And then execute:
27
27
 
28
- ```sh
28
+ ```console
29
29
  $ bundle install
30
30
  ```
31
31
 
32
32
  Or install it yourself as:
33
33
 
34
- ```sh
34
+ ```console
35
35
  $ gem install meowcop
36
36
  ```
37
37
 
@@ -39,7 +39,7 @@ $ gem install meowcop
39
39
 
40
40
  MeowCop provides a CLI tool to initialize `.rubocop.yml`. See below:
41
41
 
42
- ```ruby
42
+ ```console
43
43
  $ meowcop init
44
44
  Meow! .rubocop.yml has been created successfully.
45
45
 
@@ -49,10 +49,6 @@ inherit_gem:
49
49
  meowcop:
50
50
  - config/rubocop.yml
51
51
 
52
- # Modify the version if you don't use MRI 2.6.
53
- AllCops:
54
- TargetRubyVersion: 2.6
55
-
56
52
  # You can customize RuboCop settings.
57
53
  # For example.
58
54
  # Style/FrozenStringLiteralComment:
@@ -60,21 +56,19 @@ AllCops:
60
56
  # EnforcedStyle: always
61
57
  ```
62
58
 
63
- ### Example
64
-
65
59
  See this [example](examples/.rubocop.yml).
66
60
 
67
61
  ## Usage
68
62
 
69
63
  Just execute RuboCop with `.rubocop.yml` configured by MeowCop:
70
64
 
71
- ```sh
65
+ ```console
72
66
  $ bundle exec rubocop
73
67
  ```
74
68
 
75
69
  Or,
76
70
 
77
- ```sh
71
+ ```console
78
72
  $ rubocop
79
73
  ```
80
74
 
@@ -84,7 +78,7 @@ After checking out the repo, run `bin/setup` to install dependencies. You can al
84
78
 
85
79
  To install this gem onto your local machine, run:
86
80
 
87
- ```sh
81
+ ```console
88
82
  $ bundle exec rake install
89
83
  ```
90
84
 
@@ -94,11 +88,10 @@ To release a new version,
94
88
  2. Update the version number in [`version.rb`](lib/meowcop/version.rb).
95
89
  3. Update the [changelog](CHANGELOG.md).
96
90
  4. Commit the updated files with the following message: `Release x.y.z`
97
- 5. Run the following command, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
98
-
99
- ```sh
100
- $ bundle exec rake release
101
- ```
91
+ 5. Run the `bundle exec rake release` command. This command will:
92
+ - create a git tag for the new version
93
+ - push the git commit and tag
94
+ - push the `.gem` file to [rubygems.org](https://rubygems.org)
102
95
 
103
96
  ## Contributing
104
97
 
@@ -1,34 +1,34 @@
1
- AllCops:
2
- Exclude:
3
- # `vendor` directory is excluded by default.
4
- - 'vendor/**/*'
5
- # `db/schema.rb` is generated automatically.
6
- - 'db/schema.rb'
7
- # `node_modules` directory is generated by npm.
8
- - 'node_modules/**/*'
9
- DisplayCopNames: true
10
- DisplayStyleGuide: true
1
+ # https://docs.rubocop.org/rubocop/cops
2
+
3
+ ### Bundler
11
4
 
12
5
  Bundler/OrderedGems:
13
6
  Enabled: false
14
7
 
8
+ ### Gemspec
9
+
15
10
  Gemspec/OrderedDependencies:
16
11
  Enabled: false
17
12
 
13
+ ### Layout
14
+
15
+ Layout:
16
+ Enabled: false
17
+
18
+ ### Lint
19
+
20
+ Lint/AmbiguousBlockAssociation:
21
+ Enabled: false
22
+ Lint/AmbiguousOperator:
23
+ Enabled: false
18
24
  Lint/AmbiguousRegexpLiteral:
19
25
  Enabled: false
20
26
  Lint/AssignmentInCondition:
21
27
  Enabled: false
22
- # The cop reports not reasonable issues. So, disabled.
23
- # See. http://tech.sideci.com/entry/2016/11/01/105900
24
28
  Lint/EmptyWhen:
25
29
  Enabled: false
26
- Lint/SuppressedException:
27
- Enabled: false
28
30
  Lint/Loop:
29
31
  Enabled: false
30
- Lint/RescueException:
31
- Enabled: false
32
32
  Lint/RedundantCopDisableDirective:
33
33
  Enabled: false
34
34
  Lint/UnusedBlockArgument:
@@ -36,613 +36,44 @@ Lint/UnusedBlockArgument:
36
36
  Lint/UnusedMethodArgument:
37
37
  Enabled: false
38
38
 
39
- # If AbcSize > 50, really really really really really really really complex
39
+ ### Metrics
40
+
40
41
  Metrics/AbcSize:
41
42
  Max: 50
42
- # Use the default setting
43
- Metrics/BlockNesting:
44
- Enabled: true
45
43
  Metrics/BlockLength:
46
- Max: 30
44
+ Max: 50
45
+ CountAsOne: ['array', 'hash', 'heredoc']
47
46
  Exclude:
48
- # RuboCop's default
49
- - 'Rakefile'
47
+ # Rake
48
+ - '**/Rakefile'
50
49
  - '**/*.rake'
50
+ # RSpec
51
51
  - 'spec/**/*.rb'
52
- # In many cases, config/routes.rb has very long block
52
+ # Rails
53
53
  - 'config/routes.rb'
54
+ Metrics/BlockNesting:
55
+ Max: 10
54
56
  Metrics/ClassLength:
55
57
  Enabled: false
56
58
  Metrics/CyclomaticComplexity:
57
- Max: 10
59
+ Max: 20
58
60
  Metrics/MethodLength:
59
- Enabled: false
61
+ Max: 100
62
+ CountAsOne: ['array', 'hash', 'heredoc']
60
63
  Metrics/ModuleLength:
61
- Enabled: false
62
- # 7 parameters are tooooooo many
64
+ Max: 300
65
+ CountAsOne: ['array', 'hash', 'heredoc']
63
66
  Metrics/ParameterLists:
64
- Enabled: true
65
- Max: 7
66
- # Use the default setting
67
+ Max: 20
67
68
  Metrics/PerceivedComplexity:
68
- Enabled: true
69
+ Max: 30
69
70
 
70
- Security/Eval:
71
- Enabled: false
72
- Security/MarshalLoad:
73
- Enabled: false
74
- Security/YAMLLoad:
75
- Enabled: false
71
+ ### Naming
76
72
 
77
- Layout/AccessModifierIndentation:
78
- Enabled: false
79
- Layout/ArgumentAlignment:
80
- Enabled: false
81
- Layout/ArrayAlignment:
82
- Enabled: false
83
- Layout/HashAlignment:
84
- Enabled: false
85
- Layout/ParameterAlignment:
86
- Enabled: false
87
- Layout/BlockEndNewline:
88
- Enabled: false
89
- Layout/CaseIndentation:
90
- Enabled: false
91
- Layout/ClosingParenthesisIndentation:
92
- Enabled: false
93
- Layout/CommentIndentation:
94
- Enabled: false
95
- Layout/DotPosition:
96
- Enabled: false
97
- Layout/ElseAlignment:
98
- Enabled: false
99
- Layout/EmptyLineBetweenDefs:
100
- Enabled: false
101
- Layout/EmptyLines:
102
- Enabled: false
103
- Layout/EmptyLineAfterMagicComment:
104
- Enabled: false
105
- Layout/EmptyLineAfterGuardClause:
106
- Enabled: false
107
- Layout/EmptyLinesAroundAccessModifier:
108
- Enabled: false
109
- Layout/EmptyLinesAroundAttributeAccessor:
110
- Enabled: false
111
- Layout/EmptyLinesAroundBeginBody:
112
- Enabled: false
113
- Layout/EmptyLinesAroundBlockBody:
114
- Enabled: false
115
- Layout/EmptyLinesAroundClassBody:
116
- Enabled: false
117
- Layout/EmptyLinesAroundExceptionHandlingKeywords:
118
- Enabled: false
119
- Layout/EmptyLinesAroundMethodBody:
120
- Enabled: false
121
- Layout/EmptyLinesAroundModuleBody:
122
- Enabled: false
123
- Layout/EndOfLine:
124
- Enabled: false
125
- Layout/ExtraSpacing:
126
- Enabled: false
127
- Layout/HeredocArgumentClosingParenthesis:
128
- Enabled: false
129
- Layout/FirstArgumentIndentation:
130
- Enabled: false
131
- Layout/FirstArrayElementIndentation:
132
- Enabled: false
133
- Layout/FirstParameterIndentation:
134
- Enabled: false
135
- Layout/AssignmentIndentation:
136
- Enabled: false
137
- Layout/IndentationConsistency:
138
- Enabled: false
139
- Layout/IndentationWidth:
140
- Enabled: false
141
- Layout/FirstHashElementIndentation:
142
- Enabled: false
143
- Layout/HeredocIndentation:
144
- Enabled: false
145
- Layout/InitialIndentation:
146
- Enabled: false
147
- Layout/LeadingCommentSpace:
148
- Enabled: false
149
- Layout/LineLength:
150
- Max: 200
151
- Layout/MultilineArrayBraceLayout:
152
- Enabled: false
153
- Layout/MultilineAssignmentLayout:
154
- Enabled: false
155
- Layout/MultilineBlockLayout:
156
- Enabled: false
157
- Layout/MultilineHashBraceLayout:
158
- Enabled: false
159
- Layout/MultilineMethodCallBraceLayout:
160
- Enabled: false
161
- Layout/MultilineMethodCallIndentation:
162
- Enabled: false
163
- Layout/MultilineMethodDefinitionBraceLayout:
164
- Enabled: false
165
- Layout/MultilineOperationIndentation:
166
- Enabled: false
167
- Layout/RescueEnsureAlignment:
168
- Enabled: false
169
- Layout/SpaceAfterColon:
170
- Enabled: false
171
- Layout/SpaceAfterComma:
172
- Enabled: false
173
- Layout/SpaceAfterMethodName:
174
- Enabled: false
175
- Layout/SpaceAfterNot:
176
- Enabled: false
177
- Layout/SpaceAfterSemicolon:
178
- Enabled: false
179
- Layout/SpaceAroundBlockParameters:
180
- Enabled: false
181
- Layout/SpaceAroundEqualsInParameterDefault:
182
- Enabled: false
183
- Layout/SpaceAroundKeyword:
184
- Enabled: false
185
- Layout/SpaceAroundMethodCallOperator:
186
- Enabled: false
187
- Layout/SpaceAroundOperators:
188
- Enabled: false
189
- Layout/SpaceBeforeBlockBraces:
190
- Enabled: false
191
- Layout/SpaceBeforeComma:
192
- Enabled: false
193
- Layout/SpaceBeforeComment:
194
- Enabled: false
195
- Layout/SpaceBeforeFirstArg:
196
- Enabled: false
197
- Layout/SpaceBeforeSemicolon:
198
- Enabled: false
199
- Layout/SpaceInLambdaLiteral:
200
- Enabled: false
201
- Layout/SpaceInsideArrayLiteralBrackets:
202
- Enabled: false
203
- Layout/SpaceInsideArrayPercentLiteral:
204
- Enabled: false
205
- Layout/SpaceInsideBlockBraces:
206
- Enabled: false
207
- Layout/SpaceInsideHashLiteralBraces:
208
- Enabled: false
209
- Layout/SpaceInsideParens:
210
- Enabled: false
211
- Layout/SpaceInsidePercentLiteralDelimiters:
212
- Enabled: false
213
- Layout/SpaceInsideRangeLiteral:
214
- Enabled: false
215
- Layout/SpaceInsideReferenceBrackets:
216
- Enabled: false
217
- Layout/SpaceInsideStringInterpolation:
218
- Enabled: false
219
- Layout/TrailingEmptyLines:
220
- Enabled: false
221
- Layout/TrailingWhitespace:
222
- Enabled: false
223
- Layout/BlockAlignment:
224
- Enabled: false
225
- Layout/DefEndAlignment:
226
- Enabled: false
227
- Layout/EndAlignment:
228
- Enabled: false
229
- Layout/ClosingHeredocIndentation:
230
- Enabled: false
231
- Layout/LeadingEmptyLines:
73
+ Naming:
232
74
  Enabled: false
233
75
 
234
- Naming/AccessorMethodName:
235
- Enabled: false
236
- Naming/BinaryOperatorParameterName:
237
- Enabled: false
238
- Naming/ConstantName:
239
- Enabled: false
240
- Naming/FileName:
241
- Enabled: false
242
- Naming/HeredocDelimiterNaming:
243
- Enabled: false
244
- Naming/MethodName:
245
- Enabled: false
246
- Naming/PredicateName:
247
- Enabled: false
248
- Naming/RescuedExceptionsVariableName:
249
- Enabled: false
250
- Naming/VariableName:
251
- Enabled: false
252
- Naming/VariableNumber:
253
- Enabled: false
254
- Naming/BlockParameterName:
255
- Enabled: false
256
- Naming/MethodParameterName:
257
- Enabled: false
76
+ ### Style
258
77
 
259
- # THIS BLOCK IS AUTO-GENERATED. DO NOT EDIT.
260
- # === Disabled cops: BEGIN ===
261
- Style/AccessModifierDeclarations:
262
- Enabled: false
263
- Style/AccessorGrouping:
264
- Enabled: false
265
- Style/Alias:
266
- Enabled: false
267
- Style/AndOr:
268
- Enabled: false
269
- Style/ArrayCoercion:
270
- Enabled: false
271
- Style/ArrayJoin:
272
- Enabled: false
273
- Style/AsciiComments:
274
- Enabled: false
275
- Style/Attr:
276
- Enabled: false
277
- Style/AutoResourceCleanup:
278
- Enabled: false
279
- Style/BarePercentLiterals:
280
- Enabled: false
281
- Style/BeginBlock:
282
- Enabled: false
283
- Style/BisectedAttrAccessor:
284
- Enabled: false
285
- Style/BlockComments:
286
- Enabled: false
287
- Style/BlockDelimiters:
288
- Enabled: false
289
- Style/CaseEquality:
290
- Enabled: false
291
- Style/CaseLikeIf:
292
- Enabled: false
293
- Style/CharacterLiteral:
294
- Enabled: false
295
- Style/ClassAndModuleChildren:
296
- Enabled: false
297
- Style/ClassCheck:
298
- Enabled: false
299
- Style/ClassMethods:
300
- Enabled: false
301
- Style/ClassVars:
302
- Enabled: false
303
- Style/CollectionMethods:
304
- Enabled: false
305
- Style/ColonMethodCall:
306
- Enabled: false
307
- Style/ColonMethodDefinition:
308
- Enabled: false
309
- Style/CommandLiteral:
310
- Enabled: false
311
- Style/CommentAnnotation:
312
- Enabled: false
313
- Style/CommentedKeyword:
314
- Enabled: false
315
- Style/ConditionalAssignment:
316
- Enabled: false
317
- Style/ConstantVisibility:
318
- Enabled: false
319
- Style/Copyright:
320
- Enabled: false
321
- Style/DateTime:
322
- Enabled: false
323
- Style/DefWithParentheses:
324
- Enabled: false
325
- Style/Dir:
326
- Enabled: false
327
- Style/DisableCopsWithinSourceCodeDirective:
328
- Enabled: false
329
- Style/Documentation:
330
- Enabled: false
331
- Style/DocumentationMethod:
332
- Enabled: false
333
- Style/DoubleCopDisableDirective:
334
- Enabled: false
335
- Style/DoubleNegation:
336
- Enabled: false
337
- Style/EachForSimpleLoop:
338
- Enabled: false
339
- Style/EachWithObject:
78
+ Style:
340
79
  Enabled: false
341
- Style/EmptyBlockParameter:
342
- Enabled: false
343
- Style/EmptyCaseCondition:
344
- Enabled: false
345
- Style/EmptyElse:
346
- Enabled: false
347
- Style/EmptyLambdaParameter:
348
- Enabled: false
349
- Style/EmptyLiteral:
350
- Enabled: false
351
- Style/EmptyMethod:
352
- Enabled: false
353
- Style/Encoding:
354
- Enabled: false
355
- Style/EndBlock:
356
- Enabled: false
357
- Style/EvalWithLocation:
358
- Enabled: false
359
- Style/EvenOdd:
360
- Enabled: false
361
- Style/ExpandPathArguments:
362
- Enabled: false
363
- Style/ExplicitBlockArgument:
364
- Enabled: false
365
- Style/ExponentialNotation:
366
- Enabled: false
367
- Style/FloatDivision:
368
- Enabled: false
369
- Style/For:
370
- Enabled: false
371
- Style/FormatString:
372
- Enabled: false
373
- Style/FormatStringToken:
374
- Enabled: false
375
- Style/FrozenStringLiteralComment:
376
- Enabled: false
377
- Style/GlobalStdStream:
378
- Enabled: false
379
- Style/GlobalVars:
380
- Enabled: false
381
- Style/GuardClause:
382
- Enabled: false
383
- Style/HashAsLastArrayItem:
384
- Enabled: false
385
- Style/HashEachMethods:
386
- Enabled: false
387
- Style/HashLikeCase:
388
- Enabled: false
389
- Style/HashSyntax:
390
- Enabled: false
391
- Style/HashTransformKeys:
392
- Enabled: false
393
- Style/HashTransformValues:
394
- Enabled: false
395
- Style/IdenticalConditionalBranches:
396
- Enabled: false
397
- Style/IfInsideElse:
398
- Enabled: false
399
- Style/IfUnlessModifier:
400
- Enabled: false
401
- Style/IfUnlessModifierOfIfUnless:
402
- Enabled: false
403
- Style/IfWithSemicolon:
404
- Enabled: false
405
- Style/ImplicitRuntimeError:
406
- Enabled: false
407
- Style/InfiniteLoop:
408
- Enabled: false
409
- Style/InlineComment:
410
- Enabled: false
411
- Style/InverseMethods:
412
- Enabled: false
413
- Style/IpAddresses:
414
- Enabled: false
415
- Style/Lambda:
416
- Enabled: false
417
- Style/LambdaCall:
418
- Enabled: false
419
- Style/LineEndConcatenation:
420
- Enabled: false
421
- Style/MethodCallWithArgsParentheses:
422
- Enabled: false
423
- Style/MethodCallWithoutArgsParentheses:
424
- Enabled: false
425
- Style/MethodCalledOnDoEndBlock:
426
- Enabled: false
427
- Style/MethodDefParentheses:
428
- Enabled: false
429
- Style/MinMax:
430
- Enabled: false
431
- Style/MissingElse:
432
- Enabled: false
433
- Style/MissingRespondToMissing:
434
- Enabled: false
435
- Style/MixinGrouping:
436
- Enabled: false
437
- Style/MixinUsage:
438
- Enabled: false
439
- Style/ModuleFunction:
440
- Enabled: false
441
- Style/MultilineBlockChain:
442
- Enabled: false
443
- Style/MultilineIfModifier:
444
- Enabled: false
445
- Style/MultilineIfThen:
446
- Enabled: false
447
- Style/MultilineMemoization:
448
- Enabled: false
449
- Style/MultilineMethodSignature:
450
- Enabled: false
451
- Style/MultilineTernaryOperator:
452
- Enabled: false
453
- Style/MultilineWhenThen:
454
- Enabled: false
455
- Style/MultipleComparison:
456
- Enabled: false
457
- Style/MutableConstant:
458
- Enabled: false
459
- Style/NegatedIf:
460
- Enabled: false
461
- Style/NegatedUnless:
462
- Enabled: false
463
- Style/NegatedWhile:
464
- Enabled: false
465
- Style/NestedModifier:
466
- Enabled: false
467
- Style/NestedParenthesizedCalls:
468
- Enabled: false
469
- Style/NestedTernaryOperator:
470
- Enabled: false
471
- Style/Next:
472
- Enabled: false
473
- Style/NilComparison:
474
- Enabled: false
475
- Style/NonNilCheck:
476
- Enabled: false
477
- Style/Not:
478
- Enabled: false
479
- Style/NumericLiteralPrefix:
480
- Enabled: false
481
- Style/NumericLiterals:
482
- Enabled: false
483
- Style/NumericPredicate:
484
- Enabled: false
485
- Style/OneLineConditional:
486
- Enabled: false
487
- Style/OptionHash:
488
- Enabled: false
489
- Style/OptionalArguments:
490
- Enabled: false
491
- Style/OptionalBooleanParameter:
492
- Enabled: false
493
- Style/OrAssignment:
494
- Enabled: false
495
- Style/ParallelAssignment:
496
- Enabled: false
497
- Style/ParenthesesAroundCondition:
498
- Enabled: false
499
- Style/PercentLiteralDelimiters:
500
- Enabled: false
501
- Style/PercentQLiterals:
502
- Enabled: false
503
- Style/PerlBackrefs:
504
- Enabled: false
505
- Style/PreferredHashMethods:
506
- Enabled: false
507
- Style/Proc:
508
- Enabled: false
509
- Style/RaiseArgs:
510
- Enabled: false
511
- Style/RandomWithOffset:
512
- Enabled: false
513
- Style/RedundantAssignment:
514
- Enabled: false
515
- Style/RedundantBegin:
516
- Enabled: false
517
- Style/RedundantCapitalW:
518
- Enabled: false
519
- Style/RedundantCondition:
520
- Enabled: false
521
- Style/RedundantConditional:
522
- Enabled: false
523
- Style/RedundantException:
524
- Enabled: false
525
- Style/RedundantFetchBlock:
526
- Enabled: false
527
- Style/RedundantFileExtensionInRequire:
528
- Enabled: false
529
- Style/RedundantFreeze:
530
- Enabled: false
531
- Style/RedundantInterpolation:
532
- Enabled: false
533
- Style/RedundantParentheses:
534
- Enabled: false
535
- Style/RedundantPercentQ:
536
- Enabled: false
537
- Style/RedundantRegexpCharacterClass:
538
- Enabled: false
539
- Style/RedundantRegexpEscape:
540
- Enabled: false
541
- Style/RedundantReturn:
542
- Enabled: false
543
- Style/RedundantSelf:
544
- Enabled: false
545
- Style/RedundantSort:
546
- Enabled: false
547
- Style/RedundantSortBy:
548
- Enabled: false
549
- Style/RegexpLiteral:
550
- Enabled: false
551
- Style/RescueModifier:
552
- Enabled: false
553
- Style/RescueStandardError:
554
- Enabled: false
555
- Style/ReturnNil:
556
- Enabled: false
557
- Style/SafeNavigation:
558
- Enabled: false
559
- Style/Sample:
560
- Enabled: false
561
- Style/SelfAssignment:
562
- Enabled: false
563
- Style/Semicolon:
564
- Enabled: false
565
- Style/Send:
566
- Enabled: false
567
- Style/SignalException:
568
- Enabled: false
569
- Style/SingleArgumentDig:
570
- Enabled: false
571
- Style/SingleLineBlockParams:
572
- Enabled: false
573
- Style/SingleLineMethods:
574
- Enabled: false
575
- Style/SlicingWithRange:
576
- Enabled: false
577
- Style/SpecialGlobalVars:
578
- Enabled: false
579
- Style/StabbyLambdaParentheses:
580
- Enabled: false
581
- Style/StderrPuts:
582
- Enabled: false
583
- Style/StringConcatenation:
584
- Enabled: false
585
- Style/StringLiterals:
586
- Enabled: false
587
- Style/StringLiteralsInInterpolation:
588
- Enabled: false
589
- Style/StringMethods:
590
- Enabled: false
591
- Style/Strip:
592
- Enabled: false
593
- Style/StructInheritance:
594
- Enabled: false
595
- Style/SymbolArray:
596
- Enabled: false
597
- Style/SymbolLiteral:
598
- Enabled: false
599
- Style/SymbolProc:
600
- Enabled: false
601
- Style/TernaryParentheses:
602
- Enabled: false
603
- Style/TrailingBodyOnClass:
604
- Enabled: false
605
- Style/TrailingBodyOnMethodDefinition:
606
- Enabled: false
607
- Style/TrailingBodyOnModule:
608
- Enabled: false
609
- Style/TrailingCommaInArguments:
610
- Enabled: false
611
- Style/TrailingCommaInArrayLiteral:
612
- Enabled: false
613
- Style/TrailingCommaInBlockArgs:
614
- Enabled: false
615
- Style/TrailingCommaInHashLiteral:
616
- Enabled: false
617
- Style/TrailingMethodEndStatement:
618
- Enabled: false
619
- Style/TrailingUnderscoreVariable:
620
- Enabled: false
621
- Style/TrivialAccessors:
622
- Enabled: false
623
- Style/UnlessElse:
624
- Enabled: false
625
- Style/UnpackFirst:
626
- Enabled: false
627
- Style/VariableInterpolation:
628
- Enabled: false
629
- Style/WhenThen:
630
- Enabled: false
631
- Style/WhileUntilDo:
632
- Enabled: false
633
- Style/WhileUntilModifier:
634
- Enabled: false
635
- Style/WordArray:
636
- Enabled: false
637
- Style/YodaCondition:
638
- Enabled: false
639
- Style/ZeroLengthPredicate:
640
- Enabled: false
641
- # === Disabled cops: END ===
642
-
643
- # THIS BLOCK IS AUTO-GENERATED. DO NOT EDIT.
644
- # === Enabled cops: BEGIN ===
645
- # In many cases, hash keys should be a symbol, not a string.
646
- Style/StringHashKeys:
647
- Enabled: true
648
- # === Enabled cops: END ===
@@ -3,10 +3,6 @@ inherit_gem:
3
3
  meowcop:
4
4
  - config/rubocop.yml
5
5
 
6
- # Modify the version if you don't use MRI 2.6.
7
- AllCops:
8
- TargetRubyVersion: 2.6
9
-
10
6
  # You can customize RuboCop settings.
11
7
  # For example.
12
8
  # Style/FrozenStringLiteralComment:
@@ -1,3 +1,3 @@
1
1
  module MeowCop
2
- VERSION = "2.13.0".freeze
2
+ VERSION = "3.0.1".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: meowcop
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.13.0
4
+ version: 3.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sleeek Corporation
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-08-06 00:00:00.000000000 Z
11
+ date: 2020-12-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -16,20 +16,20 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.89.0
19
+ version: 1.0.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: 1.0.0
22
+ version: 2.0.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.89.0
29
+ version: 1.0.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: 1.0.0
32
+ version: 2.0.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: bundler
35
35
  requirement: !ruby/object:Gem::Requirement