rubocop-shopify 1.0.1 → 2.14.0
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.
- checksums.yaml +4 -4
- data/LICENSE.md +21 -0
- data/rubocop-cli.yml +5 -5
- data/rubocop.yml +583 -773
- metadata +10 -9
data/rubocop.yml
CHANGED
@@ -1,1017 +1,827 @@
|
|
1
|
+
inherit_mode:
|
2
|
+
merge:
|
3
|
+
- Exclude
|
4
|
+
- Include
|
5
|
+
|
1
6
|
AllCops:
|
2
|
-
Exclude:
|
3
|
-
- 'db/schema.rb'
|
4
|
-
DisabledByDefault: true
|
5
7
|
StyleGuideBaseURL: https://shopify.github.io/ruby-style-guide/
|
6
8
|
|
7
|
-
|
9
|
+
Bundler/OrderedGems:
|
10
|
+
Enabled: false
|
11
|
+
|
12
|
+
Gemspec/DeprecatedAttributeAssignment:
|
8
13
|
Enabled: true
|
9
14
|
|
10
|
-
|
11
|
-
|
12
|
-
SupportedStyles:
|
13
|
-
- outdent
|
14
|
-
- indent
|
15
|
-
IndentationWidth:
|
15
|
+
Gemspec/DevelopmentDependencies:
|
16
|
+
Enabled: false
|
16
17
|
|
17
|
-
|
18
|
-
|
19
|
-
SupportedStyles:
|
20
|
-
- prefer_alias
|
21
|
-
- prefer_alias_method
|
18
|
+
Gemspec/RequireMFA:
|
19
|
+
Enabled: false
|
22
20
|
|
23
|
-
|
24
|
-
|
25
|
-
EnforcedColonStyle: key
|
26
|
-
EnforcedLastArgumentHashStyle: ignore_implicit
|
27
|
-
SupportedLastArgumentHashStyles:
|
28
|
-
- always_inspect
|
29
|
-
- always_ignore
|
30
|
-
- ignore_implicit
|
31
|
-
- ignore_explicit
|
21
|
+
Gemspec/RequiredRubyVersion:
|
22
|
+
Enabled: false
|
32
23
|
|
33
|
-
Layout/
|
24
|
+
Layout/ArgumentAlignment:
|
34
25
|
EnforcedStyle: with_fixed_indentation
|
35
|
-
SupportedStyles:
|
36
|
-
- with_first_parameter
|
37
|
-
- with_fixed_indentation
|
38
|
-
IndentationWidth:
|
39
|
-
|
40
|
-
Style/AndOr:
|
41
|
-
EnforcedStyle: always
|
42
|
-
SupportedStyles:
|
43
|
-
- always
|
44
|
-
- conditionals
|
45
|
-
|
46
|
-
Style/BarePercentLiterals:
|
47
|
-
EnforcedStyle: bare_percent
|
48
|
-
SupportedStyles:
|
49
|
-
- percent_q
|
50
|
-
- bare_percent
|
51
|
-
|
52
|
-
Style/BlockDelimiters:
|
53
|
-
EnforcedStyle: line_count_based
|
54
|
-
SupportedStyles:
|
55
|
-
- line_count_based
|
56
|
-
- semantic
|
57
|
-
- braces_for_chaining
|
58
|
-
ProceduralMethods:
|
59
|
-
- benchmark
|
60
|
-
- bm
|
61
|
-
- bmbm
|
62
|
-
- create
|
63
|
-
- each_with_object
|
64
|
-
- measure
|
65
|
-
- new
|
66
|
-
- realtime
|
67
|
-
- tap
|
68
|
-
- with_object
|
69
|
-
FunctionalMethods:
|
70
|
-
- let
|
71
|
-
- let!
|
72
|
-
- subject
|
73
|
-
- watch
|
74
|
-
IgnoredMethods:
|
75
|
-
- lambda
|
76
|
-
- proc
|
77
|
-
- it
|
78
26
|
|
79
27
|
Layout/CaseIndentation:
|
80
28
|
EnforcedStyle: end
|
81
|
-
SupportedStyles:
|
82
|
-
- case
|
83
|
-
- end
|
84
|
-
IndentOneStep: false
|
85
|
-
IndentationWidth:
|
86
|
-
|
87
|
-
Style/ClassAndModuleChildren:
|
88
|
-
EnforcedStyle: nested
|
89
|
-
SupportedStyles:
|
90
|
-
- nested
|
91
|
-
- compact
|
92
|
-
|
93
|
-
Style/ClassCheck:
|
94
|
-
EnforcedStyle: is_a?
|
95
|
-
SupportedStyles:
|
96
|
-
- is_a?
|
97
|
-
- kind_of?
|
98
29
|
|
99
|
-
|
100
|
-
|
101
|
-
SupportedStyles:
|
102
|
-
- backticks
|
103
|
-
- percent_x
|
104
|
-
- mixed
|
105
|
-
AllowInnerBackticks: false
|
106
|
-
|
107
|
-
Style/CommentAnnotation:
|
108
|
-
Keywords:
|
109
|
-
- TODO
|
110
|
-
- FIXME
|
111
|
-
- OPTIMIZE
|
112
|
-
- HACK
|
113
|
-
- REVIEW
|
114
|
-
|
115
|
-
Style/ConditionalAssignment:
|
116
|
-
EnforcedStyle: assign_to_condition
|
117
|
-
SupportedStyles:
|
118
|
-
- assign_to_condition
|
119
|
-
- assign_inside_condition
|
120
|
-
SingleLineConditionsOnly: true
|
121
|
-
|
122
|
-
Layout/DotPosition:
|
123
|
-
EnforcedStyle: leading
|
124
|
-
SupportedStyles:
|
125
|
-
- leading
|
126
|
-
- trailing
|
127
|
-
|
128
|
-
Style/EmptyElse:
|
129
|
-
EnforcedStyle: both
|
130
|
-
SupportedStyles:
|
131
|
-
- empty
|
132
|
-
- nil
|
133
|
-
- both
|
134
|
-
|
135
|
-
Layout/EmptyLineBetweenDefs:
|
136
|
-
AllowAdjacentOneLineDefs: false
|
137
|
-
|
138
|
-
Layout/EmptyLinesAroundBlockBody:
|
139
|
-
EnforcedStyle: no_empty_lines
|
140
|
-
SupportedStyles:
|
141
|
-
- empty_lines
|
142
|
-
- no_empty_lines
|
143
|
-
|
144
|
-
Layout/EmptyLinesAroundClassBody:
|
145
|
-
EnforcedStyle: no_empty_lines
|
146
|
-
SupportedStyles:
|
147
|
-
- empty_lines
|
148
|
-
- empty_lines_except_namespace
|
149
|
-
- no_empty_lines
|
150
|
-
|
151
|
-
Layout/EmptyLinesAroundModuleBody:
|
152
|
-
EnforcedStyle: no_empty_lines
|
153
|
-
SupportedStyles:
|
154
|
-
- empty_lines
|
155
|
-
- empty_lines_except_namespace
|
156
|
-
- no_empty_lines
|
157
|
-
|
158
|
-
Layout/ExtraSpacing:
|
159
|
-
AllowForAlignment: true
|
160
|
-
ForceEqualSignAlignment: false
|
161
|
-
|
162
|
-
Naming/FileName:
|
163
|
-
Exclude: []
|
164
|
-
ExpectMatchingDefinition: false
|
165
|
-
Regex:
|
166
|
-
IgnoreExecutableScripts: true
|
30
|
+
Layout/EndAlignment:
|
31
|
+
EnforcedStyleAlignWith: variable
|
167
32
|
|
168
33
|
Layout/FirstArgumentIndentation:
|
169
34
|
EnforcedStyle: consistent
|
170
|
-
SupportedStyles:
|
171
|
-
- consistent
|
172
|
-
- special_for_inner_method_call
|
173
|
-
- special_for_inner_method_call_in_parentheses
|
174
|
-
IndentationWidth:
|
175
|
-
|
176
|
-
Style/For:
|
177
|
-
EnforcedStyle: each
|
178
|
-
SupportedStyles:
|
179
|
-
- for
|
180
|
-
- each
|
181
|
-
|
182
|
-
Style/FormatString:
|
183
|
-
EnforcedStyle: format
|
184
|
-
SupportedStyles:
|
185
|
-
- format
|
186
|
-
- sprintf
|
187
|
-
- percent
|
188
|
-
|
189
|
-
Style/FrozenStringLiteralComment:
|
190
|
-
Details: >-
|
191
|
-
Add `# frozen_string_literal: true` to the top of the file. Frozen string
|
192
|
-
literals will become the default in a future Ruby version, and we want to
|
193
|
-
make sure we're ready.
|
194
|
-
EnforcedStyle: always
|
195
|
-
SupportedStyles:
|
196
|
-
- always
|
197
|
-
- never
|
198
|
-
|
199
|
-
Style/GlobalVars:
|
200
|
-
AllowedVariables: []
|
201
|
-
|
202
|
-
Style/HashSyntax:
|
203
|
-
EnforcedStyle: ruby19
|
204
|
-
SupportedStyles:
|
205
|
-
- ruby19
|
206
|
-
- hash_rockets
|
207
|
-
- no_mixed_keys
|
208
|
-
- ruby19_no_mixed_keys
|
209
|
-
UseHashRocketsWithSymbolValues: false
|
210
|
-
PreferHashRocketsForNonAlnumEndingSymbols: false
|
211
|
-
|
212
|
-
Layout/IndentationConsistency:
|
213
|
-
EnforcedStyle: normal
|
214
|
-
SupportedStyles:
|
215
|
-
- normal
|
216
|
-
- rails
|
217
|
-
|
218
|
-
Layout/IndentationWidth:
|
219
|
-
Width: 2
|
220
35
|
|
221
36
|
Layout/FirstArrayElementIndentation:
|
222
37
|
EnforcedStyle: consistent
|
223
|
-
SupportedStyles:
|
224
|
-
- special_inside_parentheses
|
225
|
-
- consistent
|
226
|
-
- align_brackets
|
227
|
-
IndentationWidth:
|
228
38
|
|
229
|
-
Layout/
|
230
|
-
|
39
|
+
Layout/FirstArrayElementLineBreak:
|
40
|
+
Enabled: true
|
41
|
+
AllowMultilineFinalElement: true
|
231
42
|
|
232
43
|
Layout/FirstHashElementIndentation:
|
233
44
|
EnforcedStyle: consistent
|
234
|
-
SupportedStyles:
|
235
|
-
- special_inside_parentheses
|
236
|
-
- consistent
|
237
|
-
- align_braces
|
238
|
-
IndentationWidth:
|
239
|
-
|
240
|
-
Style/LambdaCall:
|
241
|
-
EnforcedStyle: call
|
242
|
-
SupportedStyles:
|
243
|
-
- call
|
244
|
-
- braces
|
245
|
-
|
246
|
-
Style/Next:
|
247
|
-
EnforcedStyle: skip_modifier_ifs
|
248
|
-
MinBodyLength: 3
|
249
|
-
SupportedStyles:
|
250
|
-
- skip_modifier_ifs
|
251
|
-
- always
|
252
|
-
|
253
|
-
Style/NonNilCheck:
|
254
|
-
IncludeSemanticChanges: false
|
255
45
|
|
256
|
-
|
46
|
+
Layout/FirstHashElementLineBreak:
|
257
47
|
Enabled: true
|
258
|
-
IgnoreMacros: true
|
259
|
-
IgnoredMethods:
|
260
|
-
- require
|
261
|
-
- require_relative
|
262
|
-
- require_dependency
|
263
|
-
- yield
|
264
|
-
- raise
|
265
|
-
- puts
|
266
|
-
Exclude:
|
267
|
-
- Gemfile
|
268
48
|
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
- require_parentheses
|
273
|
-
- require_no_parentheses
|
274
|
-
- require_no_parentheses_except_multiline
|
49
|
+
Layout/FirstMethodArgumentLineBreak:
|
50
|
+
Enabled: true
|
51
|
+
AllowMultilineFinalElement: true
|
275
52
|
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
Layout/
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
Layout/
|
290
|
-
|
291
|
-
|
292
|
-
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
53
|
+
Layout/HashAlignment:
|
54
|
+
EnforcedLastArgumentHashStyle: ignore_implicit
|
55
|
+
|
56
|
+
Layout/LineContinuationLeadingSpace:
|
57
|
+
Enabled: false
|
58
|
+
|
59
|
+
Layout/LineContinuationSpacing:
|
60
|
+
Enabled: false
|
61
|
+
|
62
|
+
Layout/LineEndStringConcatenationIndentation:
|
63
|
+
Enabled: true
|
64
|
+
EnforcedStyle: indented
|
65
|
+
|
66
|
+
Layout/LineLength:
|
67
|
+
AllowedPatterns:
|
68
|
+
- "\\A\\s*(remote_)?test(_\\w+)?\\s.*(do|->)(\\s|\\Z)"
|
69
|
+
- "\\A\\s*def test_\\w+\\s*\\Z"
|
70
|
+
|
71
|
+
Layout/MultilineArrayLineBreaks:
|
72
|
+
Enabled: true
|
73
|
+
AllowMultilineFinalElement: true
|
74
|
+
|
75
|
+
Layout/MultilineHashKeyLineBreaks:
|
76
|
+
Enabled: true
|
77
|
+
|
78
|
+
Layout/MultilineMethodArgumentLineBreaks:
|
79
|
+
Enabled: true
|
80
|
+
AllowMultilineFinalElement: true
|
302
81
|
|
303
82
|
Layout/MultilineMethodCallIndentation:
|
304
83
|
EnforcedStyle: indented
|
305
|
-
SupportedStyles:
|
306
|
-
- aligned
|
307
|
-
- indented
|
308
|
-
- indented_relative_to_receiver
|
309
84
|
IndentationWidth: 2
|
310
85
|
|
311
|
-
Layout/
|
312
|
-
EnforcedStyle:
|
313
|
-
SupportedStyles:
|
314
|
-
- symmetrical
|
315
|
-
- new_line
|
316
|
-
- same_line
|
86
|
+
Layout/MultilineOperationIndentation:
|
87
|
+
EnforcedStyle: indented
|
317
88
|
|
318
|
-
|
319
|
-
|
320
|
-
SupportedOctalStyles:
|
321
|
-
- zero_with_o
|
322
|
-
- zero_only
|
89
|
+
Layout/ParameterAlignment:
|
90
|
+
EnforcedStyle: with_fixed_indentation
|
323
91
|
|
324
|
-
|
325
|
-
|
92
|
+
Layout/SpaceBeforeBrackets:
|
93
|
+
Enabled: true
|
326
94
|
|
327
|
-
|
328
|
-
|
329
|
-
SupportedStyles:
|
330
|
-
- lower_case_q
|
331
|
-
- upper_case_q
|
95
|
+
Lint/AmbiguousAssignment:
|
96
|
+
Enabled: false
|
332
97
|
|
333
|
-
|
334
|
-
|
335
|
-
- is_
|
336
|
-
ForbiddenPrefixes:
|
337
|
-
- is_
|
338
|
-
AllowedMethods:
|
339
|
-
- is_a?
|
340
|
-
Exclude:
|
341
|
-
- 'spec/**/*'
|
98
|
+
Lint/AmbiguousBlockAssociation:
|
99
|
+
Enabled: false
|
342
100
|
|
343
|
-
|
344
|
-
|
345
|
-
SupportedStyles:
|
346
|
-
- short
|
347
|
-
- verbose
|
101
|
+
Lint/AmbiguousOperatorPrecedence:
|
102
|
+
Enabled: false
|
348
103
|
|
349
|
-
|
350
|
-
|
351
|
-
SupportedStyles:
|
352
|
-
- compact
|
353
|
-
- exploded
|
104
|
+
Lint/AmbiguousRange:
|
105
|
+
Enabled: false
|
354
106
|
|
355
|
-
|
356
|
-
|
107
|
+
Lint/BooleanSymbol:
|
108
|
+
Enabled: false
|
357
109
|
|
358
|
-
|
359
|
-
|
360
|
-
SupportedStyles:
|
361
|
-
- slashes
|
362
|
-
- percent_r
|
363
|
-
- mixed
|
364
|
-
AllowInnerSlashes: false
|
110
|
+
Lint/ConstantDefinitionInBlock:
|
111
|
+
Enabled: false
|
365
112
|
|
366
|
-
|
367
|
-
ConvertCodeThatCanStartToReturnNil: false
|
113
|
+
Lint/ConstantOverwrittenInRescue:
|
368
114
|
Enabled: true
|
369
115
|
|
370
|
-
Lint/
|
116
|
+
Lint/DeprecatedConstants:
|
117
|
+
Enabled: false
|
118
|
+
|
119
|
+
Lint/DisjunctiveAssignmentInConstructor:
|
120
|
+
Enabled: false
|
121
|
+
|
122
|
+
Lint/DuplicateBranch:
|
123
|
+
Enabled: false
|
124
|
+
|
125
|
+
Lint/DuplicateCaseCondition:
|
126
|
+
Enabled: false
|
127
|
+
|
128
|
+
Lint/DuplicateElsifCondition:
|
129
|
+
Enabled: false
|
130
|
+
|
131
|
+
Lint/DuplicateMagicComment:
|
371
132
|
Enabled: true
|
372
133
|
|
373
|
-
|
374
|
-
|
134
|
+
Lint/DuplicateMatchPattern:
|
135
|
+
Enabled: true
|
375
136
|
|
376
|
-
|
377
|
-
|
378
|
-
SupportedStyles:
|
379
|
-
- only_raise
|
380
|
-
- only_fail
|
381
|
-
- semantic
|
137
|
+
Lint/DuplicateRegexpCharacterClassElement:
|
138
|
+
Enabled: false
|
382
139
|
|
383
|
-
|
384
|
-
|
140
|
+
Lint/DuplicateRequire:
|
141
|
+
Enabled: false
|
385
142
|
|
386
|
-
|
387
|
-
|
143
|
+
Lint/DuplicateRescueException:
|
144
|
+
Enabled: false
|
388
145
|
|
389
|
-
|
390
|
-
|
391
|
-
SupportedStyles:
|
392
|
-
- use_perl_names
|
393
|
-
- use_english_names
|
146
|
+
Lint/EmptyBlock:
|
147
|
+
Enabled: false
|
394
148
|
|
395
|
-
|
396
|
-
|
397
|
-
SupportedStyles:
|
398
|
-
- require_parentheses
|
399
|
-
- require_no_parentheses
|
149
|
+
Lint/EmptyClass:
|
150
|
+
Enabled: false
|
400
151
|
|
401
|
-
|
402
|
-
|
403
|
-
SupportedStyles:
|
404
|
-
- single_quotes
|
405
|
-
- double_quotes
|
406
|
-
|
407
|
-
Layout/SpaceAroundBlockParameters:
|
408
|
-
EnforcedStyleInsidePipes: no_space
|
409
|
-
SupportedStylesInsidePipes:
|
410
|
-
- space
|
411
|
-
- no_space
|
412
|
-
|
413
|
-
Layout/SpaceAroundEqualsInParameterDefault:
|
414
|
-
EnforcedStyle: space
|
415
|
-
SupportedStyles:
|
416
|
-
- space
|
417
|
-
- no_space
|
418
|
-
|
419
|
-
Layout/SpaceAroundOperators:
|
420
|
-
AllowForAlignment: true
|
421
|
-
|
422
|
-
Layout/SpaceBeforeBlockBraces:
|
423
|
-
EnforcedStyle: space
|
424
|
-
EnforcedStyleForEmptyBraces: space
|
425
|
-
SupportedStyles:
|
426
|
-
- space
|
427
|
-
- no_space
|
428
|
-
|
429
|
-
Layout/SpaceInsideBlockBraces:
|
430
|
-
EnforcedStyle: space
|
431
|
-
SupportedStyles:
|
432
|
-
- space
|
433
|
-
- no_space
|
434
|
-
EnforcedStyleForEmptyBraces: no_space
|
435
|
-
SpaceBeforeBlockParameters: true
|
436
|
-
|
437
|
-
Layout/SpaceInsideHashLiteralBraces:
|
438
|
-
EnforcedStyle: space
|
439
|
-
EnforcedStyleForEmptyBraces: no_space
|
440
|
-
SupportedStyles:
|
441
|
-
- space
|
442
|
-
- no_space
|
443
|
-
- compact
|
444
|
-
|
445
|
-
Layout/SpaceInsideStringInterpolation:
|
446
|
-
EnforcedStyle: no_space
|
447
|
-
SupportedStyles:
|
448
|
-
- space
|
449
|
-
- no_space
|
450
|
-
|
451
|
-
Style/SymbolProc:
|
452
|
-
IgnoredMethods:
|
453
|
-
- respond_to
|
454
|
-
- define_method
|
455
|
-
|
456
|
-
Style/TernaryParentheses:
|
457
|
-
EnforcedStyle: require_no_parentheses
|
458
|
-
SupportedStyles:
|
459
|
-
- require_parentheses
|
460
|
-
- require_no_parentheses
|
461
|
-
AllowSafeAssignment: true
|
462
|
-
|
463
|
-
Layout/TrailingEmptyLines:
|
464
|
-
EnforcedStyle: final_newline
|
465
|
-
SupportedStyles:
|
466
|
-
- final_newline
|
467
|
-
- final_blank_line
|
468
|
-
|
469
|
-
Style/TrivialAccessors:
|
470
|
-
ExactNameMatch: true
|
471
|
-
AllowPredicates: true
|
472
|
-
AllowDSLWriters: false
|
473
|
-
IgnoreClassMethods: false
|
474
|
-
AllowedMethods:
|
475
|
-
- to_ary
|
476
|
-
- to_a
|
477
|
-
- to_c
|
478
|
-
- to_enum
|
479
|
-
- to_h
|
480
|
-
- to_hash
|
481
|
-
- to_i
|
482
|
-
- to_int
|
483
|
-
- to_io
|
484
|
-
- to_open
|
485
|
-
- to_path
|
486
|
-
- to_proc
|
487
|
-
- to_r
|
488
|
-
- to_regexp
|
489
|
-
- to_str
|
490
|
-
- to_s
|
491
|
-
- to_sym
|
492
|
-
|
493
|
-
Naming/VariableName:
|
494
|
-
EnforcedStyle: snake_case
|
495
|
-
SupportedStyles:
|
496
|
-
- snake_case
|
497
|
-
- camelCase
|
498
|
-
|
499
|
-
Style/WhileUntilModifier:
|
500
|
-
Enabled: true
|
501
|
-
|
502
|
-
Metrics/BlockNesting:
|
503
|
-
Max: 3
|
152
|
+
Lint/EmptyConditionalBody:
|
153
|
+
Enabled: false
|
504
154
|
|
505
|
-
|
506
|
-
|
507
|
-
AllowHeredoc: true
|
508
|
-
AllowURI: true
|
509
|
-
URISchemes:
|
510
|
-
- http
|
511
|
-
- https
|
512
|
-
IgnoreCopDirectives: false
|
513
|
-
IgnoredPatterns:
|
514
|
-
- '\A\s*(remote_)?test(_\w+)?\s.*(do|->)(\s|\Z)'
|
155
|
+
Lint/EmptyExpression:
|
156
|
+
Enabled: false
|
515
157
|
|
516
|
-
|
517
|
-
|
518
|
-
CountKeywordArgs: false
|
158
|
+
Lint/EmptyFile:
|
159
|
+
Enabled: false
|
519
160
|
|
520
|
-
|
521
|
-
|
522
|
-
SupportedStylesAlignWith:
|
523
|
-
- either
|
524
|
-
- start_of_block
|
525
|
-
- start_of_line
|
161
|
+
Lint/EmptyInPattern:
|
162
|
+
Enabled: false
|
526
163
|
|
527
|
-
|
528
|
-
|
529
|
-
SupportedStylesAlignWith:
|
530
|
-
- keyword
|
531
|
-
- variable
|
532
|
-
- start_of_line
|
533
|
-
|
534
|
-
Layout/DefEndAlignment:
|
535
|
-
EnforcedStyleAlignWith: start_of_line
|
536
|
-
SupportedStylesAlignWith:
|
537
|
-
- start_of_line
|
538
|
-
- def
|
539
|
-
|
540
|
-
Lint/InheritException:
|
541
|
-
EnforcedStyle: runtime_error
|
542
|
-
SupportedStyles:
|
543
|
-
- runtime_error
|
544
|
-
- standard_error
|
545
|
-
|
546
|
-
Lint/UnusedBlockArgument:
|
547
|
-
IgnoreEmptyBlocks: true
|
548
|
-
AllowUnusedKeywordArguments: false
|
164
|
+
Lint/EmptyWhen:
|
165
|
+
Enabled: false
|
549
166
|
|
550
|
-
Lint/
|
551
|
-
|
552
|
-
IgnoreEmptyMethods: true
|
167
|
+
Lint/ErbNewArguments:
|
168
|
+
Enabled: false
|
553
169
|
|
554
|
-
|
555
|
-
Enabled:
|
170
|
+
Lint/FloatComparison:
|
171
|
+
Enabled: false
|
556
172
|
|
557
|
-
|
558
|
-
Enabled:
|
173
|
+
Lint/HashCompareByIdentity:
|
174
|
+
Enabled: false
|
559
175
|
|
560
|
-
|
561
|
-
Enabled:
|
176
|
+
Lint/IdentityComparison:
|
177
|
+
Enabled: false
|
562
178
|
|
563
|
-
|
564
|
-
Enabled:
|
179
|
+
Lint/IncompatibleIoSelectWithFiberScheduler:
|
180
|
+
Enabled: false
|
565
181
|
|
566
|
-
|
567
|
-
Enabled:
|
182
|
+
Lint/InterpolationCheck:
|
183
|
+
Enabled: false
|
568
184
|
|
569
|
-
|
570
|
-
Enabled:
|
185
|
+
Lint/LambdaWithoutLiteralBlock:
|
186
|
+
Enabled: false
|
571
187
|
|
572
|
-
|
573
|
-
Enabled:
|
188
|
+
Lint/MixedRegexpCaptureTypes:
|
189
|
+
Enabled: false
|
574
190
|
|
575
|
-
|
576
|
-
Enabled:
|
191
|
+
Lint/MultipleComparison:
|
192
|
+
Enabled: false
|
577
193
|
|
578
|
-
|
579
|
-
Enabled:
|
194
|
+
Lint/NestedPercentLiteral:
|
195
|
+
Enabled: false
|
580
196
|
|
581
|
-
|
197
|
+
Lint/NoReturnInBeginEndBlocks:
|
582
198
|
Enabled: true
|
583
199
|
|
584
|
-
|
585
|
-
Enabled:
|
200
|
+
Lint/NonAtomicFileOperation:
|
201
|
+
Enabled: false
|
586
202
|
|
587
|
-
|
588
|
-
Enabled:
|
203
|
+
Lint/NonDeterministicRequireOrder:
|
204
|
+
Enabled: false
|
589
205
|
|
590
|
-
|
591
|
-
Enabled:
|
206
|
+
Lint/NumberedParameterAssignment:
|
207
|
+
Enabled: false
|
592
208
|
|
593
|
-
|
594
|
-
Enabled:
|
209
|
+
Lint/OrAssignmentToConstant:
|
210
|
+
Enabled: false
|
595
211
|
|
596
|
-
|
597
|
-
Enabled:
|
212
|
+
Lint/OutOfRangeRegexpRef:
|
213
|
+
Enabled: false
|
598
214
|
|
599
|
-
|
600
|
-
Enabled:
|
215
|
+
Lint/RaiseException:
|
216
|
+
Enabled: false
|
601
217
|
|
602
|
-
|
603
|
-
Enabled:
|
218
|
+
Lint/RedundantDirGlobSort:
|
219
|
+
Enabled: false
|
604
220
|
|
605
|
-
|
606
|
-
Enabled:
|
221
|
+
Lint/RedundantRequireStatement:
|
222
|
+
Enabled: false
|
607
223
|
|
608
|
-
|
609
|
-
Enabled:
|
224
|
+
Lint/RedundantSafeNavigation:
|
225
|
+
Enabled: false
|
610
226
|
|
611
|
-
|
612
|
-
Enabled:
|
227
|
+
Lint/RedundantWithIndex:
|
228
|
+
Enabled: false
|
613
229
|
|
614
|
-
|
615
|
-
Enabled:
|
230
|
+
Lint/RedundantWithObject:
|
231
|
+
Enabled: false
|
616
232
|
|
617
|
-
|
618
|
-
Enabled:
|
233
|
+
Lint/RefinementImportMethods:
|
234
|
+
Enabled: false
|
619
235
|
|
620
|
-
|
621
|
-
Enabled:
|
236
|
+
Lint/RegexpAsCondition:
|
237
|
+
Enabled: false
|
622
238
|
|
623
|
-
|
239
|
+
Lint/RequireRangeParentheses:
|
624
240
|
Enabled: true
|
625
241
|
|
626
|
-
|
242
|
+
Lint/RequireRelativeSelfPath:
|
627
243
|
Enabled: true
|
628
244
|
|
629
|
-
|
630
|
-
Enabled:
|
245
|
+
Lint/RescueType:
|
246
|
+
Enabled: false
|
631
247
|
|
632
|
-
|
633
|
-
Enabled:
|
248
|
+
Lint/ReturnInVoidContext:
|
249
|
+
Enabled: false
|
634
250
|
|
635
|
-
|
636
|
-
Enabled:
|
251
|
+
Lint/SafeNavigationConsistency:
|
252
|
+
Enabled: false
|
637
253
|
|
638
|
-
|
639
|
-
Enabled:
|
254
|
+
Lint/SafeNavigationWithEmpty:
|
255
|
+
Enabled: false
|
640
256
|
|
641
|
-
|
642
|
-
Enabled:
|
257
|
+
Lint/ScriptPermission:
|
258
|
+
Enabled: false
|
643
259
|
|
644
|
-
|
645
|
-
Enabled:
|
260
|
+
Lint/SelfAssignment:
|
261
|
+
Enabled: false
|
646
262
|
|
647
|
-
Lint/
|
648
|
-
Enabled:
|
263
|
+
Lint/SendWithMixinArgument:
|
264
|
+
Enabled: false
|
649
265
|
|
650
|
-
|
651
|
-
Enabled:
|
266
|
+
Lint/ShadowedArgument:
|
267
|
+
Enabled: false
|
652
268
|
|
653
|
-
|
654
|
-
Enabled:
|
269
|
+
Lint/ShadowingOuterLocalVariable:
|
270
|
+
Enabled: false
|
655
271
|
|
656
|
-
|
657
|
-
Enabled:
|
272
|
+
Lint/StructNewOverride:
|
273
|
+
Enabled: false
|
658
274
|
|
659
|
-
|
660
|
-
Enabled:
|
275
|
+
Lint/SymbolConversion:
|
276
|
+
Enabled: false
|
661
277
|
|
662
|
-
|
663
|
-
Enabled:
|
278
|
+
Lint/ToEnumArguments:
|
279
|
+
Enabled: false
|
664
280
|
|
665
|
-
|
666
|
-
Enabled:
|
281
|
+
Lint/ToJSON:
|
282
|
+
Enabled: false
|
667
283
|
|
668
|
-
|
669
|
-
Enabled:
|
284
|
+
Lint/TopLevelReturnWithArgument:
|
285
|
+
Enabled: false
|
670
286
|
|
671
|
-
|
672
|
-
Enabled:
|
287
|
+
Lint/TrailingCommaInAttributeDeclaration:
|
288
|
+
Enabled: false
|
673
289
|
|
674
|
-
|
675
|
-
Enabled:
|
290
|
+
Lint/TripleQuotes:
|
291
|
+
Enabled: false
|
676
292
|
|
677
|
-
|
678
|
-
Enabled:
|
293
|
+
Lint/UnexpectedBlockArity:
|
294
|
+
Enabled: false
|
679
295
|
|
680
|
-
|
681
|
-
Enabled:
|
296
|
+
Lint/UnmodifiedReduceAccumulator:
|
297
|
+
Enabled: false
|
682
298
|
|
683
|
-
|
684
|
-
Enabled:
|
299
|
+
Lint/UnreachableLoop:
|
300
|
+
Enabled: false
|
685
301
|
|
686
|
-
|
687
|
-
Enabled:
|
302
|
+
Lint/UnusedMethodArgument:
|
303
|
+
Enabled: false
|
688
304
|
|
689
|
-
|
690
|
-
Enabled:
|
305
|
+
Lint/UriEscapeUnescape:
|
306
|
+
Enabled: false
|
691
307
|
|
692
|
-
|
693
|
-
Enabled:
|
308
|
+
Lint/UriRegexp:
|
309
|
+
Enabled: false
|
694
310
|
|
695
|
-
|
696
|
-
Enabled:
|
311
|
+
Lint/UselessMethodDefinition:
|
312
|
+
Enabled: false
|
697
313
|
|
698
|
-
|
314
|
+
Lint/UselessRescue:
|
699
315
|
Enabled: true
|
700
316
|
|
701
|
-
|
317
|
+
Lint/UselessRuby2Keywords:
|
702
318
|
Enabled: true
|
703
319
|
|
704
|
-
|
705
|
-
Enabled:
|
320
|
+
Lint/UselessTimes:
|
321
|
+
Enabled: false
|
706
322
|
|
707
|
-
|
708
|
-
Enabled:
|
323
|
+
Metrics/AbcSize:
|
324
|
+
Enabled: false
|
709
325
|
|
710
|
-
|
711
|
-
Enabled:
|
326
|
+
Metrics/BlockLength:
|
327
|
+
Enabled: false
|
712
328
|
|
713
|
-
|
714
|
-
Enabled:
|
329
|
+
Metrics/ClassLength:
|
330
|
+
Enabled: false
|
715
331
|
|
716
|
-
|
332
|
+
Metrics/CollectionLiteralLength:
|
717
333
|
Enabled: true
|
718
334
|
|
719
|
-
|
720
|
-
Enabled:
|
335
|
+
Metrics/CyclomaticComplexity:
|
336
|
+
Enabled: false
|
721
337
|
|
722
|
-
|
723
|
-
Enabled:
|
338
|
+
Metrics/MethodLength:
|
339
|
+
Enabled: false
|
724
340
|
|
725
|
-
|
726
|
-
Enabled:
|
341
|
+
Metrics/ModuleLength:
|
342
|
+
Enabled: false
|
727
343
|
|
728
|
-
|
729
|
-
|
344
|
+
Metrics/ParameterLists:
|
345
|
+
CountKeywordArgs: false
|
730
346
|
|
731
|
-
|
732
|
-
Enabled:
|
347
|
+
Metrics/PerceivedComplexity:
|
348
|
+
Enabled: false
|
733
349
|
|
734
|
-
|
735
|
-
Enabled:
|
350
|
+
Migration/DepartmentName:
|
351
|
+
Enabled: false
|
736
352
|
|
737
|
-
|
738
|
-
Enabled:
|
353
|
+
Naming/BlockForwarding:
|
354
|
+
Enabled: false
|
739
355
|
|
740
|
-
|
741
|
-
Enabled:
|
356
|
+
Naming/BlockParameterName:
|
357
|
+
Enabled: false
|
742
358
|
|
743
|
-
|
744
|
-
Enabled:
|
359
|
+
Naming/HeredocDelimiterCase:
|
360
|
+
Enabled: false
|
745
361
|
|
746
|
-
|
747
|
-
Enabled:
|
362
|
+
Naming/HeredocDelimiterNaming:
|
363
|
+
Enabled: false
|
748
364
|
|
749
|
-
|
365
|
+
Naming/InclusiveLanguage:
|
750
366
|
Enabled: true
|
367
|
+
FlaggedTerms:
|
368
|
+
master:
|
369
|
+
Suggestions:
|
370
|
+
- main
|
371
|
+
- primary
|
372
|
+
- leader
|
373
|
+
AllowedRegex:
|
374
|
+
- !ruby/regexp '/master[_\s\.]key/' # Rails master key
|
375
|
+
- !ruby/regexp /\w*:\/\/\S+/ # URLs (e.g. https://github.com/org/repo/blob/master/README.md)
|
376
|
+
- !ruby/regexp '/(?:blob|tree)/master/' # e.g. github.com/org/repo/blob/master/README.md, without https://
|
377
|
+
- !ruby/regexp '/origin[ \/]master/' # Legacy default git branch name
|
378
|
+
- 'mastercard'
|
379
|
+
- 'webmaster'
|
751
380
|
|
752
|
-
|
753
|
-
Enabled:
|
381
|
+
Naming/MemoizedInstanceVariableName:
|
382
|
+
Enabled: false
|
754
383
|
|
755
|
-
|
756
|
-
|
384
|
+
Naming/MethodName:
|
385
|
+
AllowedPatterns:
|
386
|
+
- '\Atest_'
|
757
387
|
|
758
|
-
|
759
|
-
Enabled:
|
388
|
+
Naming/MethodParameterName:
|
389
|
+
Enabled: false
|
760
390
|
|
761
|
-
|
762
|
-
|
391
|
+
Naming/PredicateName:
|
392
|
+
NamePrefix:
|
393
|
+
- is_
|
394
|
+
ForbiddenPrefixes:
|
395
|
+
- is_
|
763
396
|
|
764
|
-
|
765
|
-
Enabled:
|
397
|
+
Naming/RescuedExceptionsVariableName:
|
398
|
+
Enabled: false
|
766
399
|
|
767
|
-
|
768
|
-
Enabled:
|
400
|
+
Naming/VariableNumber:
|
401
|
+
Enabled: false
|
769
402
|
|
770
|
-
|
771
|
-
Enabled:
|
403
|
+
Security/CompoundHash:
|
404
|
+
Enabled: false
|
772
405
|
|
773
|
-
|
406
|
+
Security/IoMethods:
|
774
407
|
Enabled: true
|
775
408
|
|
776
|
-
|
777
|
-
Enabled:
|
409
|
+
Security/MarshalLoad:
|
410
|
+
Enabled: false
|
778
411
|
|
779
|
-
|
780
|
-
Enabled:
|
412
|
+
Security/YAMLLoad:
|
413
|
+
Enabled: false
|
781
414
|
|
782
|
-
|
783
|
-
Enabled:
|
415
|
+
Style/AccessModifierDeclarations:
|
416
|
+
Enabled: false
|
784
417
|
|
785
|
-
|
786
|
-
Enabled:
|
418
|
+
Style/AccessorGrouping:
|
419
|
+
Enabled: false
|
787
420
|
|
788
|
-
|
789
|
-
|
421
|
+
Style/Alias:
|
422
|
+
EnforcedStyle: prefer_alias_method
|
790
423
|
|
791
|
-
|
792
|
-
Enabled:
|
424
|
+
Style/ArgumentsForwarding:
|
425
|
+
Enabled: false
|
793
426
|
|
794
|
-
|
427
|
+
Style/ArrayIntersect:
|
795
428
|
Enabled: true
|
796
429
|
|
797
|
-
|
798
|
-
Enabled:
|
430
|
+
Style/BisectedAttrAccessor:
|
431
|
+
Enabled: false
|
799
432
|
|
800
|
-
|
801
|
-
|
433
|
+
Style/CaseEquality:
|
434
|
+
AllowOnConstant: true
|
435
|
+
AllowOnSelfClass: true
|
802
436
|
|
803
|
-
Style/
|
804
|
-
Enabled:
|
437
|
+
Style/CaseLikeIf:
|
438
|
+
Enabled: false
|
805
439
|
|
806
|
-
|
807
|
-
Enabled:
|
440
|
+
Style/ClassEqualityComparison:
|
441
|
+
Enabled: false
|
808
442
|
|
809
|
-
|
443
|
+
Style/ClassMethodsDefinitions:
|
444
|
+
EnforcedStyle: self_class
|
810
445
|
Enabled: true
|
811
446
|
|
812
|
-
Style/
|
813
|
-
Enabled:
|
447
|
+
Style/CollectionCompact:
|
448
|
+
Enabled: false
|
814
449
|
|
815
|
-
Style/
|
816
|
-
Enabled:
|
450
|
+
Style/ColonMethodDefinition:
|
451
|
+
Enabled: false
|
817
452
|
|
818
|
-
Style/
|
819
|
-
Enabled:
|
453
|
+
Style/CombinableLoops:
|
454
|
+
Enabled: false
|
820
455
|
|
821
|
-
Style/
|
822
|
-
|
456
|
+
Style/CommandLiteral:
|
457
|
+
EnforcedStyle: percent_x
|
458
|
+
|
459
|
+
Style/CommentedKeyword:
|
460
|
+
Enabled: false
|
823
461
|
|
824
|
-
Style/
|
462
|
+
Style/ComparableClamp:
|
825
463
|
Enabled: true
|
826
464
|
|
827
|
-
Style/
|
465
|
+
Style/ConcatArrayLiterals:
|
828
466
|
Enabled: true
|
829
467
|
|
830
|
-
Style/
|
468
|
+
Style/DataInheritance:
|
831
469
|
Enabled: true
|
832
470
|
|
833
|
-
Style/
|
471
|
+
Style/DateTime:
|
834
472
|
Enabled: true
|
835
473
|
|
836
|
-
|
837
|
-
|
474
|
+
Style/Dir:
|
475
|
+
Enabled: false
|
838
476
|
|
839
|
-
|
477
|
+
Style/DirEmpty:
|
840
478
|
Enabled: true
|
841
479
|
|
842
|
-
|
843
|
-
Enabled:
|
480
|
+
Style/DocumentDynamicEvalDefinition:
|
481
|
+
Enabled: false
|
844
482
|
|
845
|
-
|
846
|
-
Enabled:
|
483
|
+
Style/Documentation:
|
484
|
+
Enabled: false
|
847
485
|
|
848
|
-
|
849
|
-
Enabled:
|
486
|
+
Style/DoubleCopDisableDirective:
|
487
|
+
Enabled: false
|
850
488
|
|
851
|
-
|
852
|
-
Enabled:
|
489
|
+
Style/DoubleNegation:
|
490
|
+
Enabled: false
|
853
491
|
|
854
|
-
|
855
|
-
Enabled:
|
492
|
+
Style/EmptyBlockParameter:
|
493
|
+
Enabled: false
|
856
494
|
|
857
|
-
|
495
|
+
Style/EmptyHeredoc:
|
858
496
|
Enabled: true
|
859
497
|
|
860
|
-
|
861
|
-
Enabled:
|
498
|
+
Style/EmptyLambdaParameter:
|
499
|
+
Enabled: false
|
862
500
|
|
863
|
-
|
864
|
-
Enabled:
|
501
|
+
Style/EmptyMethod:
|
502
|
+
Enabled: false
|
865
503
|
|
866
|
-
|
867
|
-
Enabled:
|
504
|
+
Style/Encoding:
|
505
|
+
Enabled: false
|
868
506
|
|
869
|
-
|
870
|
-
Enabled:
|
507
|
+
Style/EndlessMethod:
|
508
|
+
Enabled: false
|
871
509
|
|
872
|
-
|
873
|
-
Enabled:
|
510
|
+
Style/EnvHome:
|
511
|
+
Enabled: false
|
874
512
|
|
875
|
-
|
876
|
-
Enabled:
|
513
|
+
Style/EvalWithLocation:
|
514
|
+
Enabled: false
|
877
515
|
|
878
|
-
|
516
|
+
Style/ExactRegexpMatch:
|
879
517
|
Enabled: true
|
880
518
|
|
881
|
-
|
519
|
+
Style/ExpandPathArguments:
|
520
|
+
Enabled: false
|
521
|
+
|
522
|
+
Style/ExponentialNotation:
|
523
|
+
Enabled: false
|
524
|
+
|
525
|
+
Style/FetchEnvVar:
|
526
|
+
Enabled: false
|
527
|
+
|
528
|
+
Style/FileEmpty:
|
882
529
|
Enabled: true
|
883
530
|
|
884
|
-
|
885
|
-
|
531
|
+
Style/FileRead:
|
532
|
+
Enabled: false
|
886
533
|
|
887
|
-
|
888
|
-
|
889
|
-
better be represented as a single string literal.
|
534
|
+
Style/FileWrite:
|
535
|
+
Enabled: false
|
890
536
|
|
891
|
-
|
892
|
-
|
893
|
-
of a class method, which does not work.
|
537
|
+
Style/FloatDivision:
|
538
|
+
Enabled: false
|
894
539
|
|
895
|
-
|
896
|
-
Enabled:
|
540
|
+
Style/FormatStringToken:
|
541
|
+
Enabled: false
|
897
542
|
|
898
|
-
|
899
|
-
|
543
|
+
Style/FrozenStringLiteralComment:
|
544
|
+
SafeAutoCorrect: true
|
545
|
+
Details: 'Add `# frozen_string_literal: true` to the top of the file. Frozen string
|
546
|
+
literals will become the default in a future Ruby version, and we want to make
|
547
|
+
sure we''re ready.'
|
900
548
|
|
901
|
-
|
902
|
-
|
903
|
-
for post-loop tests.
|
549
|
+
Style/GuardClause:
|
550
|
+
Enabled: false
|
904
551
|
|
905
|
-
|
906
|
-
Enabled:
|
552
|
+
Style/HashAsLastArrayItem:
|
553
|
+
Enabled: false
|
907
554
|
|
908
|
-
|
909
|
-
|
910
|
-
block.
|
555
|
+
Style/HashConversion:
|
556
|
+
Enabled: false
|
911
557
|
|
912
|
-
|
913
|
-
Enabled:
|
558
|
+
Style/HashEachMethods:
|
559
|
+
Enabled: false
|
914
560
|
|
915
|
-
|
916
|
-
Enabled:
|
561
|
+
Style/HashExcept:
|
562
|
+
Enabled: false
|
917
563
|
|
918
|
-
|
919
|
-
Enabled:
|
564
|
+
Style/HashLikeCase:
|
565
|
+
Enabled: false
|
920
566
|
|
921
|
-
|
922
|
-
|
567
|
+
Style/HashSyntax:
|
568
|
+
EnforcedShorthandSyntax: either
|
923
569
|
|
924
|
-
|
925
|
-
|
926
|
-
likely a mistake.
|
570
|
+
Style/HashTransformKeys:
|
571
|
+
Enabled: false
|
927
572
|
|
928
|
-
|
929
|
-
Enabled:
|
573
|
+
Style/HashTransformValues:
|
574
|
+
Enabled: false
|
930
575
|
|
931
|
-
|
932
|
-
Enabled:
|
576
|
+
Style/IfUnlessModifier:
|
577
|
+
Enabled: false
|
933
578
|
|
934
|
-
|
935
|
-
Enabled:
|
579
|
+
Style/IfWithBooleanLiteralBranches:
|
580
|
+
Enabled: false
|
936
581
|
|
937
|
-
|
582
|
+
Style/InPatternThen:
|
938
583
|
Enabled: true
|
939
584
|
|
940
|
-
|
941
|
-
Enabled:
|
585
|
+
Style/InverseMethods:
|
586
|
+
Enabled: false
|
942
587
|
|
943
|
-
|
588
|
+
Style/InvertibleUnlessCondition:
|
944
589
|
Enabled: true
|
945
590
|
|
946
|
-
|
947
|
-
Enabled:
|
591
|
+
Style/KeywordParametersOrder:
|
592
|
+
Enabled: false
|
948
593
|
|
949
|
-
|
950
|
-
Enabled:
|
594
|
+
Style/Lambda:
|
595
|
+
Enabled: false
|
951
596
|
|
952
|
-
|
597
|
+
Style/MagicCommentFormat:
|
953
598
|
Enabled: true
|
599
|
+
ValueCapitalization: lowercase
|
954
600
|
|
955
|
-
|
956
|
-
Enabled:
|
601
|
+
Style/MapCompactWithConditionalBlock:
|
602
|
+
Enabled: false
|
957
603
|
|
958
|
-
|
604
|
+
Style/MapToHash:
|
605
|
+
Enabled: false
|
606
|
+
|
607
|
+
Style/MapToSet:
|
608
|
+
Enabled: false
|
609
|
+
|
610
|
+
Style/MethodCallWithArgsParentheses:
|
959
611
|
Enabled: true
|
612
|
+
AllowedMethods:
|
613
|
+
- require
|
614
|
+
- require_relative
|
615
|
+
- require_dependency
|
616
|
+
- yield
|
617
|
+
- raise
|
618
|
+
- puts
|
619
|
+
Exclude:
|
620
|
+
- "/**/Gemfile"
|
960
621
|
|
961
|
-
|
962
|
-
|
622
|
+
Style/MinMax:
|
623
|
+
Enabled: false
|
963
624
|
|
964
|
-
|
625
|
+
Style/MinMaxComparison:
|
965
626
|
Enabled: true
|
966
627
|
|
967
|
-
|
628
|
+
Style/MixinGrouping:
|
629
|
+
Enabled: false
|
630
|
+
|
631
|
+
Style/MixinUsage:
|
632
|
+
Enabled: false
|
633
|
+
|
634
|
+
Style/ModuleFunction:
|
635
|
+
EnforcedStyle: extend_self
|
636
|
+
|
637
|
+
Style/MultilineBlockChain:
|
638
|
+
Enabled: false
|
639
|
+
|
640
|
+
Style/MultilineIfModifier:
|
641
|
+
Enabled: false
|
642
|
+
|
643
|
+
Style/MultilineInPatternThen:
|
644
|
+
Enabled: false
|
645
|
+
|
646
|
+
Style/MultilineWhenThen:
|
647
|
+
Enabled: false
|
648
|
+
|
649
|
+
Style/MultipleComparison:
|
650
|
+
Enabled: false
|
651
|
+
|
652
|
+
Style/MutableConstant:
|
653
|
+
Enabled: false
|
654
|
+
|
655
|
+
Style/NegatedIfElseCondition:
|
656
|
+
Enabled: false
|
657
|
+
|
658
|
+
Style/NegatedUnless:
|
659
|
+
Enabled: false
|
660
|
+
|
661
|
+
Style/NestedFileDirname:
|
968
662
|
Enabled: true
|
969
663
|
|
970
|
-
|
664
|
+
Style/NilLambda:
|
665
|
+
Enabled: false
|
666
|
+
|
667
|
+
Style/NumberedParameters:
|
668
|
+
Enabled: false
|
669
|
+
|
670
|
+
Style/NumberedParametersLimit:
|
671
|
+
Enabled: false
|
672
|
+
|
673
|
+
Style/NumericLiterals:
|
674
|
+
Enabled: false
|
675
|
+
|
676
|
+
Style/NumericPredicate:
|
677
|
+
Enabled: false
|
678
|
+
|
679
|
+
Style/ObjectThen:
|
680
|
+
Enabled: false
|
681
|
+
|
682
|
+
Style/OpenStructUse:
|
971
683
|
Enabled: true
|
972
684
|
|
973
|
-
|
685
|
+
Style/OperatorMethodCall:
|
974
686
|
Enabled: true
|
975
687
|
|
976
|
-
|
688
|
+
Style/OptionalBooleanParameter:
|
689
|
+
Enabled: false
|
690
|
+
|
691
|
+
Style/OrAssignment:
|
692
|
+
Enabled: false
|
693
|
+
|
694
|
+
Style/PercentLiteralDelimiters:
|
695
|
+
Enabled: false
|
696
|
+
|
697
|
+
Style/QuotedSymbols:
|
977
698
|
Enabled: true
|
978
699
|
|
979
|
-
|
700
|
+
Style/RandomWithOffset:
|
701
|
+
Enabled: false
|
702
|
+
|
703
|
+
Style/RedundantArgument:
|
704
|
+
Enabled: false
|
705
|
+
|
706
|
+
Style/RedundantAssignment:
|
707
|
+
Enabled: false
|
708
|
+
|
709
|
+
Style/RedundantCondition:
|
710
|
+
Enabled: false
|
711
|
+
|
712
|
+
Style/RedundantConditional:
|
713
|
+
Enabled: false
|
714
|
+
|
715
|
+
Style/RedundantConstantBase:
|
980
716
|
Enabled: true
|
981
717
|
|
982
|
-
|
718
|
+
Style/RedundantDoubleSplatHashBraces:
|
983
719
|
Enabled: true
|
984
720
|
|
985
|
-
|
721
|
+
Style/RedundantEach:
|
986
722
|
Enabled: true
|
987
723
|
|
988
|
-
|
724
|
+
Style/RedundantFetchBlock:
|
725
|
+
Enabled: false
|
726
|
+
|
727
|
+
Style/RedundantFileExtensionInRequire:
|
728
|
+
Enabled: false
|
729
|
+
|
730
|
+
Style/RedundantHeredocDelimiterQuotes:
|
989
731
|
Enabled: true
|
990
732
|
|
991
|
-
Style/
|
733
|
+
Style/RedundantInitialize:
|
734
|
+
Enabled: false
|
735
|
+
|
736
|
+
Style/RedundantLineContinuation:
|
992
737
|
Enabled: true
|
993
738
|
|
994
|
-
Style/
|
739
|
+
Style/RedundantRegexpCharacterClass:
|
740
|
+
Enabled: false
|
741
|
+
|
742
|
+
Style/RedundantRegexpEscape:
|
743
|
+
Enabled: false
|
744
|
+
|
745
|
+
Style/RedundantSelfAssignment:
|
746
|
+
Enabled: false
|
747
|
+
|
748
|
+
Style/RedundantSelfAssignmentBranch:
|
749
|
+
Enabled: false
|
750
|
+
|
751
|
+
Style/RedundantSort:
|
752
|
+
Enabled: false
|
753
|
+
|
754
|
+
Style/RedundantStringEscape:
|
995
755
|
Enabled: true
|
996
756
|
|
997
|
-
Style/
|
757
|
+
Style/RegexpLiteral:
|
758
|
+
EnforcedStyle: mixed
|
759
|
+
|
760
|
+
Style/RescueStandardError:
|
761
|
+
Enabled: false
|
762
|
+
|
763
|
+
Style/ReturnNil:
|
998
764
|
Enabled: true
|
999
765
|
|
1000
|
-
Style/
|
766
|
+
Style/SelectByRegexp:
|
767
|
+
Enabled: false
|
768
|
+
|
769
|
+
Style/SingleArgumentDig:
|
770
|
+
Enabled: false
|
771
|
+
|
772
|
+
Style/SlicingWithRange:
|
773
|
+
Enabled: false
|
774
|
+
|
775
|
+
Style/SoleNestedConditional:
|
776
|
+
Enabled: false
|
777
|
+
|
778
|
+
Style/StderrPuts:
|
779
|
+
Enabled: false
|
780
|
+
|
781
|
+
Style/StringChars:
|
782
|
+
Enabled: false
|
783
|
+
|
784
|
+
Style/StringConcatenation:
|
785
|
+
Enabled: false
|
786
|
+
|
787
|
+
Style/StringLiterals:
|
788
|
+
EnforcedStyle: double_quotes
|
789
|
+
|
790
|
+
Style/StringLiteralsInInterpolation:
|
791
|
+
EnforcedStyle: double_quotes
|
792
|
+
|
793
|
+
Style/StructInheritance:
|
794
|
+
Enabled: false
|
795
|
+
|
796
|
+
Style/SwapValues:
|
797
|
+
Enabled: false
|
798
|
+
|
799
|
+
Style/SymbolArray:
|
800
|
+
EnforcedStyle: brackets
|
801
|
+
|
802
|
+
Style/TrailingBodyOnMethodDefinition:
|
803
|
+
Enabled: false
|
804
|
+
|
805
|
+
Style/TrailingCommaInArguments:
|
1001
806
|
EnforcedStyleForMultiline: comma
|
1002
|
-
|
807
|
+
|
808
|
+
Style/TrailingCommaInArrayLiteral:
|
809
|
+
EnforcedStyleForMultiline: consistent_comma
|
1003
810
|
|
1004
811
|
Style/TrailingCommaInHashLiteral:
|
1005
|
-
EnforcedStyleForMultiline:
|
1006
|
-
Enabled: true
|
812
|
+
EnforcedStyleForMultiline: consistent_comma
|
1007
813
|
|
1008
|
-
|
1009
|
-
|
1010
|
-
EnforcedStyleForEmptyBrackets: no_space
|
1011
|
-
Enabled: true
|
814
|
+
Style/TrailingMethodEndStatement:
|
815
|
+
Enabled: false
|
1012
816
|
|
1013
|
-
Style/
|
1014
|
-
|
817
|
+
Style/TrailingUnderscoreVariable:
|
818
|
+
Enabled: false
|
1015
819
|
|
1016
|
-
|
1017
|
-
Enabled:
|
820
|
+
Style/UnpackFirst:
|
821
|
+
Enabled: false
|
822
|
+
|
823
|
+
Style/WordArray:
|
824
|
+
EnforcedStyle: brackets
|
825
|
+
|
826
|
+
Style/YodaCondition:
|
827
|
+
Enabled: false
|