meowcop 2.15.1 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +14 -15
- data/config/rubocop.yml +35 -618
- data/lib/meowcop/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6ecf248222d4dd28ec0c9b1594e6ef360d1a60bd3cee6c53590aecfffbdf6670
|
4
|
+
data.tar.gz: 905a4f656df2b9a4247359a4e571844218b5e84d0c2b0aa8dba9a088f7e72c76
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd36fc688185044ba4f897108bede9027f79ea138a29c40d6de42b11b518aa4c66cf5bc29e3dece7ab7ea8705f03b790ecd0141ce5d61e04914d40a3c086b4fa
|
7
|
+
data.tar.gz: f4a9ba67e4037e8c48e02e19a81dc164a2ef1eb9fb21067655162d4ac6588299608e3bfc8d59578f5465c46e6d0a84c3bb94b540806eff5bdbc4c8ffa042c416
|
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://
|
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
|
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 **
|
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
|
-
```
|
28
|
+
```console
|
29
29
|
$ bundle install
|
30
30
|
```
|
31
31
|
|
32
32
|
Or install it yourself as:
|
33
33
|
|
34
|
-
```
|
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
|
-
```
|
42
|
+
```console
|
43
43
|
$ meowcop init
|
44
44
|
Meow! .rubocop.yml has been created successfully.
|
45
45
|
|
@@ -62,13 +62,13 @@ See this [example](examples/.rubocop.yml).
|
|
62
62
|
|
63
63
|
Just execute RuboCop with `.rubocop.yml` configured by MeowCop:
|
64
64
|
|
65
|
-
```
|
65
|
+
```console
|
66
66
|
$ bundle exec rubocop
|
67
67
|
```
|
68
68
|
|
69
69
|
Or,
|
70
70
|
|
71
|
-
```
|
71
|
+
```console
|
72
72
|
$ rubocop
|
73
73
|
```
|
74
74
|
|
@@ -78,7 +78,7 @@ After checking out the repo, run `bin/setup` to install dependencies. You can al
|
|
78
78
|
|
79
79
|
To install this gem onto your local machine, run:
|
80
80
|
|
81
|
-
```
|
81
|
+
```console
|
82
82
|
$ bundle exec rake install
|
83
83
|
```
|
84
84
|
|
@@ -88,11 +88,10 @@ To release a new version,
|
|
88
88
|
2. Update the version number in [`version.rb`](lib/meowcop/version.rb).
|
89
89
|
3. Update the [changelog](CHANGELOG.md).
|
90
90
|
4. Commit the updated files with the following message: `Release x.y.z`
|
91
|
-
5. Run the
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
```
|
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)
|
96
95
|
|
97
96
|
## Contributing
|
98
97
|
|
data/config/rubocop.yml
CHANGED
@@ -1,34 +1,34 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
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,625 +36,42 @@ Lint/UnusedBlockArgument:
|
|
36
36
|
Lint/UnusedMethodArgument:
|
37
37
|
Enabled: false
|
38
38
|
|
39
|
-
|
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:
|
44
|
+
Max: 50
|
45
|
+
CountAsOne: ['array', 'hash', 'heredoc']
|
47
46
|
Exclude:
|
48
|
-
#
|
49
|
-
- 'Rakefile'
|
47
|
+
# Rake
|
48
|
+
- '**/Rakefile'
|
50
49
|
- '**/*.rake'
|
50
|
+
# RSpec
|
51
51
|
- 'spec/**/*.rb'
|
52
|
-
#
|
52
|
+
# Rails
|
53
53
|
- 'config/routes.rb'
|
54
54
|
Metrics/ClassLength:
|
55
55
|
Enabled: false
|
56
56
|
Metrics/CyclomaticComplexity:
|
57
|
-
Max:
|
57
|
+
Max: 20
|
58
58
|
Metrics/MethodLength:
|
59
|
-
|
59
|
+
Max: 100
|
60
|
+
CountAsOne: ['array', 'hash', 'heredoc']
|
60
61
|
Metrics/ModuleLength:
|
61
|
-
|
62
|
-
|
62
|
+
Max: 300
|
63
|
+
CountAsOne: ['array', 'hash', 'heredoc']
|
63
64
|
Metrics/ParameterLists:
|
64
|
-
|
65
|
-
Max: 7
|
66
|
-
# Use the default setting
|
65
|
+
Max: 20
|
67
66
|
Metrics/PerceivedComplexity:
|
68
|
-
|
67
|
+
Max: 30
|
69
68
|
|
70
|
-
|
71
|
-
Enabled: false
|
72
|
-
Security/MarshalLoad:
|
73
|
-
Enabled: false
|
74
|
-
Security/YAMLLoad:
|
75
|
-
Enabled: false
|
69
|
+
### Naming
|
76
70
|
|
77
|
-
|
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:
|
71
|
+
Naming:
|
232
72
|
Enabled: false
|
233
73
|
|
234
|
-
|
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
|
74
|
+
### Style
|
258
75
|
|
259
|
-
|
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/ClassEqualityComparison:
|
300
|
-
Enabled: false
|
301
|
-
Style/ClassMethods:
|
302
|
-
Enabled: false
|
303
|
-
Style/ClassMethodsDefinitions:
|
304
|
-
Enabled: false
|
305
|
-
Style/ClassVars:
|
306
|
-
Enabled: false
|
307
|
-
Style/CollectionMethods:
|
308
|
-
Enabled: false
|
309
|
-
Style/ColonMethodCall:
|
310
|
-
Enabled: false
|
311
|
-
Style/ColonMethodDefinition:
|
312
|
-
Enabled: false
|
313
|
-
Style/CombinableLoops:
|
314
|
-
Enabled: false
|
315
|
-
Style/CommandLiteral:
|
316
|
-
Enabled: false
|
317
|
-
Style/CommentAnnotation:
|
318
|
-
Enabled: false
|
319
|
-
Style/CommentedKeyword:
|
320
|
-
Enabled: false
|
321
|
-
Style/ConditionalAssignment:
|
322
|
-
Enabled: false
|
323
|
-
Style/ConstantVisibility:
|
324
|
-
Enabled: false
|
325
|
-
Style/Copyright:
|
326
|
-
Enabled: false
|
327
|
-
Style/DateTime:
|
328
|
-
Enabled: false
|
329
|
-
Style/DefWithParentheses:
|
330
|
-
Enabled: false
|
331
|
-
Style/Dir:
|
332
|
-
Enabled: false
|
333
|
-
Style/DisableCopsWithinSourceCodeDirective:
|
334
|
-
Enabled: false
|
335
|
-
Style/Documentation:
|
336
|
-
Enabled: false
|
337
|
-
Style/DocumentationMethod:
|
338
|
-
Enabled: false
|
339
|
-
Style/DoubleCopDisableDirective:
|
340
|
-
Enabled: false
|
341
|
-
Style/DoubleNegation:
|
342
|
-
Enabled: false
|
343
|
-
Style/EachForSimpleLoop:
|
344
|
-
Enabled: false
|
345
|
-
Style/EachWithObject:
|
346
|
-
Enabled: false
|
347
|
-
Style/EmptyBlockParameter:
|
348
|
-
Enabled: false
|
349
|
-
Style/EmptyCaseCondition:
|
76
|
+
Style:
|
350
77
|
Enabled: false
|
351
|
-
Style/EmptyElse:
|
352
|
-
Enabled: false
|
353
|
-
Style/EmptyLambdaParameter:
|
354
|
-
Enabled: false
|
355
|
-
Style/EmptyLiteral:
|
356
|
-
Enabled: false
|
357
|
-
Style/EmptyMethod:
|
358
|
-
Enabled: false
|
359
|
-
Style/Encoding:
|
360
|
-
Enabled: false
|
361
|
-
Style/EndBlock:
|
362
|
-
Enabled: false
|
363
|
-
Style/EvalWithLocation:
|
364
|
-
Enabled: false
|
365
|
-
Style/EvenOdd:
|
366
|
-
Enabled: false
|
367
|
-
Style/ExpandPathArguments:
|
368
|
-
Enabled: false
|
369
|
-
Style/ExplicitBlockArgument:
|
370
|
-
Enabled: false
|
371
|
-
Style/ExponentialNotation:
|
372
|
-
Enabled: false
|
373
|
-
Style/FloatDivision:
|
374
|
-
Enabled: false
|
375
|
-
Style/For:
|
376
|
-
Enabled: false
|
377
|
-
Style/FormatString:
|
378
|
-
Enabled: false
|
379
|
-
Style/FormatStringToken:
|
380
|
-
Enabled: false
|
381
|
-
Style/FrozenStringLiteralComment:
|
382
|
-
Enabled: false
|
383
|
-
Style/GlobalStdStream:
|
384
|
-
Enabled: false
|
385
|
-
Style/GlobalVars:
|
386
|
-
Enabled: false
|
387
|
-
Style/GuardClause:
|
388
|
-
Enabled: false
|
389
|
-
Style/HashAsLastArrayItem:
|
390
|
-
Enabled: false
|
391
|
-
Style/HashEachMethods:
|
392
|
-
Enabled: false
|
393
|
-
Style/HashLikeCase:
|
394
|
-
Enabled: false
|
395
|
-
Style/HashSyntax:
|
396
|
-
Enabled: false
|
397
|
-
Style/HashTransformKeys:
|
398
|
-
Enabled: false
|
399
|
-
Style/HashTransformValues:
|
400
|
-
Enabled: false
|
401
|
-
Style/IdenticalConditionalBranches:
|
402
|
-
Enabled: false
|
403
|
-
Style/IfInsideElse:
|
404
|
-
Enabled: false
|
405
|
-
Style/IfUnlessModifier:
|
406
|
-
Enabled: false
|
407
|
-
Style/IfUnlessModifierOfIfUnless:
|
408
|
-
Enabled: false
|
409
|
-
Style/IfWithSemicolon:
|
410
|
-
Enabled: false
|
411
|
-
Style/ImplicitRuntimeError:
|
412
|
-
Enabled: false
|
413
|
-
Style/InfiniteLoop:
|
414
|
-
Enabled: false
|
415
|
-
Style/InlineComment:
|
416
|
-
Enabled: false
|
417
|
-
Style/InverseMethods:
|
418
|
-
Enabled: false
|
419
|
-
Style/IpAddresses:
|
420
|
-
Enabled: false
|
421
|
-
Style/KeywordParametersOrder:
|
422
|
-
Enabled: false
|
423
|
-
Style/Lambda:
|
424
|
-
Enabled: false
|
425
|
-
Style/LambdaCall:
|
426
|
-
Enabled: false
|
427
|
-
Style/LineEndConcatenation:
|
428
|
-
Enabled: false
|
429
|
-
Style/MethodCallWithArgsParentheses:
|
430
|
-
Enabled: false
|
431
|
-
Style/MethodCallWithoutArgsParentheses:
|
432
|
-
Enabled: false
|
433
|
-
Style/MethodCalledOnDoEndBlock:
|
434
|
-
Enabled: false
|
435
|
-
Style/MethodDefParentheses:
|
436
|
-
Enabled: false
|
437
|
-
Style/MinMax:
|
438
|
-
Enabled: false
|
439
|
-
Style/MissingElse:
|
440
|
-
Enabled: false
|
441
|
-
Style/MissingRespondToMissing:
|
442
|
-
Enabled: false
|
443
|
-
Style/MixinGrouping:
|
444
|
-
Enabled: false
|
445
|
-
Style/MixinUsage:
|
446
|
-
Enabled: false
|
447
|
-
Style/ModuleFunction:
|
448
|
-
Enabled: false
|
449
|
-
Style/MultilineBlockChain:
|
450
|
-
Enabled: false
|
451
|
-
Style/MultilineIfModifier:
|
452
|
-
Enabled: false
|
453
|
-
Style/MultilineIfThen:
|
454
|
-
Enabled: false
|
455
|
-
Style/MultilineMemoization:
|
456
|
-
Enabled: false
|
457
|
-
Style/MultilineMethodSignature:
|
458
|
-
Enabled: false
|
459
|
-
Style/MultilineTernaryOperator:
|
460
|
-
Enabled: false
|
461
|
-
Style/MultilineWhenThen:
|
462
|
-
Enabled: false
|
463
|
-
Style/MultipleComparison:
|
464
|
-
Enabled: false
|
465
|
-
Style/MutableConstant:
|
466
|
-
Enabled: false
|
467
|
-
Style/NegatedIf:
|
468
|
-
Enabled: false
|
469
|
-
Style/NegatedUnless:
|
470
|
-
Enabled: false
|
471
|
-
Style/NegatedWhile:
|
472
|
-
Enabled: false
|
473
|
-
Style/NestedModifier:
|
474
|
-
Enabled: false
|
475
|
-
Style/NestedParenthesizedCalls:
|
476
|
-
Enabled: false
|
477
|
-
Style/NestedTernaryOperator:
|
478
|
-
Enabled: false
|
479
|
-
Style/Next:
|
480
|
-
Enabled: false
|
481
|
-
Style/NilComparison:
|
482
|
-
Enabled: false
|
483
|
-
Style/NonNilCheck:
|
484
|
-
Enabled: false
|
485
|
-
Style/Not:
|
486
|
-
Enabled: false
|
487
|
-
Style/NumericLiteralPrefix:
|
488
|
-
Enabled: false
|
489
|
-
Style/NumericLiterals:
|
490
|
-
Enabled: false
|
491
|
-
Style/NumericPredicate:
|
492
|
-
Enabled: false
|
493
|
-
Style/OneLineConditional:
|
494
|
-
Enabled: false
|
495
|
-
Style/OptionHash:
|
496
|
-
Enabled: false
|
497
|
-
Style/OptionalArguments:
|
498
|
-
Enabled: false
|
499
|
-
Style/OptionalBooleanParameter:
|
500
|
-
Enabled: false
|
501
|
-
Style/OrAssignment:
|
502
|
-
Enabled: false
|
503
|
-
Style/ParallelAssignment:
|
504
|
-
Enabled: false
|
505
|
-
Style/ParenthesesAroundCondition:
|
506
|
-
Enabled: false
|
507
|
-
Style/PercentLiteralDelimiters:
|
508
|
-
Enabled: false
|
509
|
-
Style/PercentQLiterals:
|
510
|
-
Enabled: false
|
511
|
-
Style/PerlBackrefs:
|
512
|
-
Enabled: false
|
513
|
-
Style/PreferredHashMethods:
|
514
|
-
Enabled: false
|
515
|
-
Style/Proc:
|
516
|
-
Enabled: false
|
517
|
-
Style/RaiseArgs:
|
518
|
-
Enabled: false
|
519
|
-
Style/RandomWithOffset:
|
520
|
-
Enabled: false
|
521
|
-
Style/RedundantAssignment:
|
522
|
-
Enabled: false
|
523
|
-
Style/RedundantBegin:
|
524
|
-
Enabled: false
|
525
|
-
Style/RedundantCapitalW:
|
526
|
-
Enabled: false
|
527
|
-
Style/RedundantCondition:
|
528
|
-
Enabled: false
|
529
|
-
Style/RedundantConditional:
|
530
|
-
Enabled: false
|
531
|
-
Style/RedundantException:
|
532
|
-
Enabled: false
|
533
|
-
Style/RedundantFetchBlock:
|
534
|
-
Enabled: false
|
535
|
-
Style/RedundantFileExtensionInRequire:
|
536
|
-
Enabled: false
|
537
|
-
Style/RedundantFreeze:
|
538
|
-
Enabled: false
|
539
|
-
Style/RedundantInterpolation:
|
540
|
-
Enabled: false
|
541
|
-
Style/RedundantParentheses:
|
542
|
-
Enabled: false
|
543
|
-
Style/RedundantPercentQ:
|
544
|
-
Enabled: false
|
545
|
-
Style/RedundantRegexpCharacterClass:
|
546
|
-
Enabled: false
|
547
|
-
Style/RedundantRegexpEscape:
|
548
|
-
Enabled: false
|
549
|
-
Style/RedundantReturn:
|
550
|
-
Enabled: false
|
551
|
-
Style/RedundantSelf:
|
552
|
-
Enabled: false
|
553
|
-
Style/RedundantSelfAssignment:
|
554
|
-
Enabled: false
|
555
|
-
Style/RedundantSort:
|
556
|
-
Enabled: false
|
557
|
-
Style/RedundantSortBy:
|
558
|
-
Enabled: false
|
559
|
-
Style/RegexpLiteral:
|
560
|
-
Enabled: false
|
561
|
-
Style/RescueModifier:
|
562
|
-
Enabled: false
|
563
|
-
Style/RescueStandardError:
|
564
|
-
Enabled: false
|
565
|
-
Style/ReturnNil:
|
566
|
-
Enabled: false
|
567
|
-
Style/SafeNavigation:
|
568
|
-
Enabled: false
|
569
|
-
Style/Sample:
|
570
|
-
Enabled: false
|
571
|
-
Style/SelfAssignment:
|
572
|
-
Enabled: false
|
573
|
-
Style/Semicolon:
|
574
|
-
Enabled: false
|
575
|
-
Style/Send:
|
576
|
-
Enabled: false
|
577
|
-
Style/SignalException:
|
578
|
-
Enabled: false
|
579
|
-
Style/SingleArgumentDig:
|
580
|
-
Enabled: false
|
581
|
-
Style/SingleLineBlockParams:
|
582
|
-
Enabled: false
|
583
|
-
Style/SingleLineMethods:
|
584
|
-
Enabled: false
|
585
|
-
Style/SlicingWithRange:
|
586
|
-
Enabled: false
|
587
|
-
Style/SoleNestedConditional:
|
588
|
-
Enabled: false
|
589
|
-
Style/SpecialGlobalVars:
|
590
|
-
Enabled: false
|
591
|
-
Style/StabbyLambdaParentheses:
|
592
|
-
Enabled: false
|
593
|
-
Style/StderrPuts:
|
594
|
-
Enabled: false
|
595
|
-
Style/StringConcatenation:
|
596
|
-
Enabled: false
|
597
|
-
Style/StringLiterals:
|
598
|
-
Enabled: false
|
599
|
-
Style/StringLiteralsInInterpolation:
|
600
|
-
Enabled: false
|
601
|
-
Style/StringMethods:
|
602
|
-
Enabled: false
|
603
|
-
Style/Strip:
|
604
|
-
Enabled: false
|
605
|
-
Style/StructInheritance:
|
606
|
-
Enabled: false
|
607
|
-
Style/SymbolArray:
|
608
|
-
Enabled: false
|
609
|
-
Style/SymbolLiteral:
|
610
|
-
Enabled: false
|
611
|
-
Style/SymbolProc:
|
612
|
-
Enabled: false
|
613
|
-
Style/TernaryParentheses:
|
614
|
-
Enabled: false
|
615
|
-
Style/TrailingBodyOnClass:
|
616
|
-
Enabled: false
|
617
|
-
Style/TrailingBodyOnMethodDefinition:
|
618
|
-
Enabled: false
|
619
|
-
Style/TrailingBodyOnModule:
|
620
|
-
Enabled: false
|
621
|
-
Style/TrailingCommaInArguments:
|
622
|
-
Enabled: false
|
623
|
-
Style/TrailingCommaInArrayLiteral:
|
624
|
-
Enabled: false
|
625
|
-
Style/TrailingCommaInBlockArgs:
|
626
|
-
Enabled: false
|
627
|
-
Style/TrailingCommaInHashLiteral:
|
628
|
-
Enabled: false
|
629
|
-
Style/TrailingMethodEndStatement:
|
630
|
-
Enabled: false
|
631
|
-
Style/TrailingUnderscoreVariable:
|
632
|
-
Enabled: false
|
633
|
-
Style/TrivialAccessors:
|
634
|
-
Enabled: false
|
635
|
-
Style/UnlessElse:
|
636
|
-
Enabled: false
|
637
|
-
Style/UnpackFirst:
|
638
|
-
Enabled: false
|
639
|
-
Style/VariableInterpolation:
|
640
|
-
Enabled: false
|
641
|
-
Style/WhenThen:
|
642
|
-
Enabled: false
|
643
|
-
Style/WhileUntilDo:
|
644
|
-
Enabled: false
|
645
|
-
Style/WhileUntilModifier:
|
646
|
-
Enabled: false
|
647
|
-
Style/WordArray:
|
648
|
-
Enabled: false
|
649
|
-
Style/YodaCondition:
|
650
|
-
Enabled: false
|
651
|
-
Style/ZeroLengthPredicate:
|
652
|
-
Enabled: false
|
653
|
-
# === Disabled cops: END ===
|
654
|
-
|
655
|
-
# THIS BLOCK IS AUTO-GENERATED. DO NOT EDIT.
|
656
|
-
# === Enabled cops: BEGIN ===
|
657
|
-
# In many cases, hash keys should be a symbol, not a string.
|
658
|
-
Style/StringHashKeys:
|
659
|
-
Enabled: true
|
660
|
-
# === Enabled cops: END ===
|
data/lib/meowcop/version.rb
CHANGED
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:
|
4
|
+
version: 3.0.0
|
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-
|
11
|
+
date: 2020-11-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 1.0.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.0.0
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 1.0.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.0.0
|