lifen-ruby-style 1.0.7 → 1.1.4

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: a9ae91d8b6be61444ed549376d44e7f8e0b3ac8fe4c60b5e3ba80ce0c84d3d1b
4
- data.tar.gz: 3368e3ef8bd97fab3df455249b1844fd4a688bbcb7e5057e0078fa18dd394181
3
+ metadata.gz: ef1c5acb2037988874bbfa359309ee7a01f69c8d019721de6e10919435847183
4
+ data.tar.gz: d116d8b202a31cc741e90cd836db6e63e44e71456c749529e6f1503c881dc71e
5
5
  SHA512:
6
- metadata.gz: aefe6e1a1d0cabfea933a8fc8831d173e33f62a2b0512e87fbbe0b0b531d7f3d0369c623ca809ec3a9cf7878c9fbd213931c40bfdd3c83fc51732c1667d71e62
7
- data.tar.gz: d6f6482c2ba5333667208e14dd9d0a395f01cd6d8aa97a2dc3c574989d795b34919b17754453089cbeeadf7d4171db1c05228726af631e6d519cdf1fa56d0f26
6
+ metadata.gz: d4fea74c0236cacdc3524b907410c0560dcd260d226c233474dd2658364efecf236d04b44d3c3ef8b7973451ed66b7a7d4f89dd61ebb2ebeae0e1ad3b63fbaff
7
+ data.tar.gz: 833a05da049395af63154429876af4ec214cb845010fdc6029adda20a1b5649867effaeb0db162aaa2f174182a8bddd77a9c203e72814092756c58e02ba2e3d7
@@ -16,37 +16,47 @@
16
16
  # Uncomment the following lines to make the configuration take effect.
17
17
 
18
18
  PreCommit:
19
+ RubocopDaemonStart:
20
+ enabled: true
21
+ command: ['bundle', 'exec', 'rubocop-daemon', 'start']
22
+ parallelize: false
23
+
19
24
  RuboCop:
20
25
  enabled: true
21
- command: ["bundle", "exec", "rubocop"]
26
+ command: ['bundle', 'exec', 'rubocop-daemon', 'exec', '--', '--format=emacs', '--auto-correct']
27
+ required_executable: 'rubocop-daemon'
28
+ flags: []
29
+ install_command: 'gem install rubocop-daemon'
22
30
  problem_on_unmodified_line: ignore
23
31
 
24
32
  GoFmt:
25
33
  enabled: false
26
34
 
35
+ AuthorEmail:
36
+ enabled: false
37
+ AuthorName:
38
+ enabled: false
39
+ BrokenSymlinks:
40
+ enabled: false
41
+ CaseConflicts:
42
+ enabled: false
43
+ MergeConflicts:
44
+ enabled: false
45
+
27
46
  CommitMsg:
28
47
  CapitalizedSubject:
29
48
  enabled: false
30
49
 
50
+ EmptyMessage:
51
+ enabled: false
52
+
31
53
  SingleLineSubject:
32
- enabled: true
54
+ enabled: false
33
55
  on_warn: fail
34
56
 
35
57
  TextWidth:
36
- enabled: true
58
+ enabled: false
37
59
 
38
60
  TrailingPeriod:
39
- enabled: true
61
+ enabled: false
40
62
  on_warn: fail
41
- #PreCommit:
42
- # TrailingWhitespace:
43
- # enabled: true
44
- # exclude:
45
- # - '**/db/structure.sql' # Ignore trailing whitespace in generated files
46
- #
47
- #PostCheckout:
48
- # ALL: # Special hook name that customizes all hooks of this type
49
- # quiet: true # Change all post-checkout hooks to only display output on failure
50
- #
51
- # IndexTags:
52
- # enabled: true # Generate a tags file with `ctags` each time HEAD changes
data/README.md CHANGED
@@ -20,6 +20,7 @@
20
20
  - [Overcommit](#commandes-overcommit)
21
21
  - [Utilisation d'une version locale](#utilisation-dune-version-locale)
22
22
  - [Contributions](#contributions)
23
+ - [Publier une nouvelle version](#publier-une-nouvelle-version)
23
24
  - [TODO](#todo)
24
25
  - [Archives](#archives)
25
26
 
@@ -288,11 +289,12 @@ $ bundle exec rubocop --fail-fast # inspect files in order of modification time
288
289
  Pour de la correction automatique :
289
290
 
290
291
  ```bash
291
- $ bundle exec rubocop -a # auto-correct offenses.
292
292
  $ bundle exec rubocop --safe # run only safe cops.
293
- $ bundle exec rubocop --safe-auto-correct # run auto-correct only when it's safe.
293
+ $ bundle exec rubocop --auto-correct # run auto-correct only when it's safe.
294
+ $ bundle exec rubocop --auto-correct-all # run auto-correct (safe and unsafe).
294
295
  $ bundle exec rubocop --lint # run only lint cops.
295
296
  $ bundle exec rubocop --fix-layout # run only layout cops, with auto-correct on.
297
+ $ bundle exec rubocop --auto-correct-all --only "Style/AccessModifierDeclarations,Style/Alias,Style/AndOr,Style/ArrayJoin" # run autocorrect on listed cops
296
298
  ```
297
299
 
298
300
  Liste des commandes disponibles :
@@ -368,15 +370,19 @@ Vous allez vouloir tester localement les modifications de règle de style que vo
368
370
 
369
371
  **ATTENTION : La configuration d'overcommit n'est pas liée automatiquement au projet, il faut la copier/coller dans le projet cible après avoir effectué des changements.**
370
372
 
373
+ ## Publier une nouvelle version
374
+
375
+ Suivre les instructions du [guide de release](RELEASING.md).
376
+
371
377
  ## TODO
372
378
 
373
- [ ] Ajouter rubocop-daemon (arriver à faire une bonne intégration aux IDE)
374
- [ ] Ajouter le hook de pre-commit au CI
375
- [ ] Ajouter un hook de pre-push ?
376
- [ ] Ajouter `fasterer` si pertinent
377
- [ ] Ajouter `reek` si pertinent
378
- [ ] Ajouter `slim_lint` si pertinent
379
- [ ] Ajouter `scss` si pertinent
379
+ - [ ] Ajouter rubocop-daemon (arriver à faire une bonne intégration aux IDE)
380
+ - [ ] Ajouter le hook de pre-commit au CI
381
+ - [ ] Ajouter un hook de pre-push ?
382
+ - [ ] Ajouter `fasterer` si pertinent
383
+ - [ ] Ajouter `reek` si pertinent
384
+ - [ ] Ajouter `slim_lint` si pertinent
385
+ - [ ] Ajouter `scss` si pertinent
380
386
 
381
387
  ## Archives
382
388
 
@@ -16,37 +16,47 @@
16
16
  # Uncomment the following lines to make the configuration take effect.
17
17
 
18
18
  PreCommit:
19
+ RubocopDaemonStart:
20
+ enabled: true
21
+ command: ['bundle', 'exec', 'rubocop-daemon', 'start']
22
+ parallelize: false
23
+
19
24
  RuboCop:
20
25
  enabled: true
21
- command: ["bundle", "exec", "rubocop"]
26
+ command: ['bundle', 'exec', 'rubocop-daemon', 'exec', '--', '--format=emacs', '--auto-correct']
27
+ required_executable: 'rubocop-daemon'
28
+ flags: []
29
+ install_command: 'gem install rubocop-daemon'
22
30
  problem_on_unmodified_line: ignore
23
31
 
24
32
  GoFmt:
25
33
  enabled: false
26
34
 
35
+ AuthorEmail:
36
+ enabled: false
37
+ AuthorName:
38
+ enabled: false
39
+ BrokenSymlinks:
40
+ enabled: false
41
+ CaseConflicts:
42
+ enabled: false
43
+ MergeConflicts:
44
+ enabled: false
45
+
27
46
  CommitMsg:
28
47
  CapitalizedSubject:
29
48
  enabled: false
30
49
 
50
+ EmptyMessage:
51
+ enabled: false
52
+
31
53
  SingleLineSubject:
32
- enabled: true
54
+ enabled: false
33
55
  on_warn: fail
34
56
 
35
57
  TextWidth:
36
- enabled: true
58
+ enabled: false
37
59
 
38
60
  TrailingPeriod:
39
- enabled: true
61
+ enabled: false
40
62
  on_warn: fail
41
- #PreCommit:
42
- # TrailingWhitespace:
43
- # enabled: true
44
- # exclude:
45
- # - '**/db/structure.sql' # Ignore trailing whitespace in generated files
46
- #
47
- #PostCheckout:
48
- # ALL: # Special hook name that customizes all hooks of this type
49
- # quiet: true # Change all post-checkout hooks to only display output on failure
50
- #
51
- # IndexTags:
52
- # enabled: true # Generate a tags file with `ctags` each time HEAD changes
@@ -4,8 +4,8 @@ require:
4
4
  - rubocop-rails
5
5
 
6
6
  AllCops:
7
- DisplayStyleGuide: true
8
- NewCops: enable
7
+ DisabledByDefault: true
8
+ NewCops: disable
9
9
  TargetRubyVersion: 2.5
10
10
  Exclude:
11
11
  - "test/**/*.rb"
@@ -17,135 +17,2134 @@ AllCops:
17
17
  - "spec/rails_helper.rb"
18
18
  - "node_modules/**/*"
19
19
 
20
+ #################### Bundler ###############################
21
+
22
+ Bundler/DuplicatedGem:
23
+ Enabled: true
24
+
25
+ Bundler/GemComment:
26
+ Enabled: false
27
+
28
+ Bundler/InsecureProtocolSource:
29
+ Enabled: true
30
+
31
+ Bundler/OrderedGems:
32
+ Enabled: true
33
+
34
+ #################### Gemspec ###############################
35
+
36
+ Gemspec/DuplicatedAssignment:
37
+ Enabled: true
38
+
39
+ Gemspec/OrderedDependencies:
40
+ Enabled: true
41
+
42
+ Gemspec/RequiredRubyVersion:
43
+ Enabled: true
44
+
45
+ Gemspec/RubyVersionGlobalsUsage:
46
+ Enabled: true
47
+
48
+ #################### Layout ###############################
49
+
50
+ Layout/AccessModifierIndentation:
51
+ Enabled: true
52
+
20
53
  Layout/ArgumentAlignment:
54
+ Enabled: true
21
55
  EnforcedStyle: with_fixed_indentation
22
56
 
57
+ Layout/ArrayAlignment:
58
+ Enabled: true
59
+
60
+ Layout/AssignmentIndentation:
61
+ Enabled: true
62
+
63
+ Layout/BeginEndAlignment:
64
+ Enabled: true
65
+
66
+ Layout/BlockAlignment:
67
+ Enabled: true
68
+
69
+ Layout/BlockEndNewline:
70
+ Enabled: true
71
+
23
72
  Layout/CaseIndentation:
73
+ Enabled: true
24
74
  EnforcedStyle: end
25
75
 
76
+ Layout/ClassStructure:
77
+ Enabled: false
78
+
79
+ Layout/ClosingHeredocIndentation:
80
+ Enabled: true
81
+
82
+ Layout/ClosingParenthesisIndentation:
83
+ Enabled: true
84
+
85
+ Layout/CommentIndentation:
86
+ Enabled: true
87
+
88
+ Layout/ConditionPosition:
89
+ Enabled: true
90
+
91
+ Layout/DefEndAlignment:
92
+ Enabled: true
93
+
94
+ Layout/DotPosition:
95
+ Enabled: true
96
+
97
+ Layout/ElseAlignment:
98
+ Enabled: true
99
+
100
+ Layout/EmptyComment:
101
+ Enabled: true
102
+
103
+ Layout/EmptyLineAfterGuardClause:
104
+ Enabled: true
105
+
106
+ Layout/EmptyLineAfterMagicComment:
107
+ Enabled: true
108
+
109
+ Layout/EmptyLineAfterMultilineCondition:
110
+ Enabled: false
111
+
112
+ Layout/EmptyLineBetweenDefs:
113
+ Enabled: true
114
+
115
+ Layout/EmptyLines:
116
+ Enabled: true
117
+
118
+ Layout/EmptyLinesAroundAccessModifier:
119
+ Enabled: true
120
+
121
+ Layout/EmptyLinesAroundArguments:
122
+ Enabled: true
123
+
124
+ Layout/EmptyLinesAroundAttributeAccessor:
125
+ Enabled: true
126
+
127
+ Layout/EmptyLinesAroundBeginBody:
128
+ Enabled: true
129
+
130
+ Layout/EmptyLinesAroundBlockBody:
131
+ Enabled: true
132
+
26
133
  Layout/EmptyLinesAroundClassBody:
134
+ Enabled: true
27
135
  EnforcedStyle: empty_lines
28
136
 
137
+ Layout/EmptyLinesAroundExceptionHandlingKeywords:
138
+ Enabled: true
139
+
140
+ Layout/EmptyLinesAroundMethodBody:
141
+ Enabled: true
142
+
29
143
  Layout/EmptyLinesAroundModuleBody:
144
+ Enabled: true
30
145
  EnforcedStyle: empty_lines_except_namespace
31
146
 
32
147
  Layout/EndAlignment:
148
+ Enabled: true
33
149
  EnforcedStyleAlignWith: variable
34
150
 
151
+ Layout/EndOfLine:
152
+ Enabled: true
153
+
154
+ Layout/ExtraSpacing:
155
+ Enabled: true
156
+
35
157
  Layout/FirstArgumentIndentation:
158
+ Enabled: true
36
159
  EnforcedStyle: consistent
37
160
 
38
161
  Layout/FirstArrayElementIndentation:
162
+ Enabled: true
39
163
  EnforcedStyle: consistent
40
164
 
165
+ Layout/FirstArrayElementLineBreak:
166
+ Enabled: false
167
+
41
168
  Layout/FirstHashElementIndentation:
169
+ Enabled: true
42
170
  EnforcedStyle: consistent
43
171
 
172
+ Layout/FirstHashElementLineBreak:
173
+ Enabled: false
174
+
175
+ Layout/FirstMethodArgumentLineBreak:
176
+ Enabled: false
177
+
178
+ Layout/FirstMethodParameterLineBreak:
179
+ Enabled: false
180
+
181
+ Layout/FirstParameterIndentation:
182
+ Enabled: true
183
+
184
+ Layout/HashAlignment:
185
+ Enabled: true
186
+
187
+ Layout/HeredocArgumentClosingParenthesis:
188
+ Enabled: false
189
+
190
+ Layout/HeredocIndentation:
191
+ Enabled: true
192
+
44
193
  Layout/IndentationConsistency:
194
+ Enabled: true
45
195
  EnforcedStyle: indented_internal_methods
46
196
 
197
+ Layout/IndentationStyle:
198
+ Enabled: true
199
+
200
+ Layout/IndentationWidth:
201
+ Enabled: true
202
+
203
+ Layout/InitialIndentation:
204
+ Enabled: true
205
+
206
+ Layout/LeadingCommentSpace:
207
+ Enabled: true
208
+
209
+ Layout/LeadingEmptyLines:
210
+ Enabled: true
211
+
47
212
  Layout/LineLength:
48
- Max: 120
213
+ Enabled: false
214
+
215
+ Layout/MultilineArrayBraceLayout:
216
+ Enabled: true
217
+
218
+ Layout/MultilineArrayLineBreaks:
219
+ Enabled: false
220
+
221
+ Layout/MultilineAssignmentLayout:
222
+ Enabled: false
223
+
224
+ Layout/MultilineBlockLayout:
225
+ Enabled: true
226
+
227
+ Layout/MultilineHashBraceLayout:
228
+ Enabled: true
229
+
230
+ Layout/MultilineHashKeyLineBreaks:
231
+ Enabled: false
232
+
233
+ Layout/MultilineMethodArgumentLineBreaks:
234
+ Enabled: false
235
+
236
+ Layout/MultilineMethodCallBraceLayout:
237
+ Enabled: true
49
238
 
50
239
  Layout/MultilineMethodCallIndentation:
240
+ Enabled: true
51
241
  EnforcedStyle: indented
52
242
 
243
+ Layout/MultilineMethodDefinitionBraceLayout:
244
+ Enabled: true
245
+
246
+ Layout/MultilineOperationIndentation:
247
+ Enabled: true
248
+
53
249
  Layout/ParameterAlignment:
250
+ Enabled: true
54
251
  EnforcedStyle: with_fixed_indentation
55
252
 
56
- Lint/RescueException:
57
- Enabled: false
253
+ Layout/RescueEnsureAlignment:
254
+ Enabled: true
58
255
 
59
- Metrics/AbcSize:
60
- Enabled: false
256
+ Layout/SpaceAfterColon:
257
+ Enabled: true
61
258
 
62
- Metrics/BlockLength:
63
- Enabled: false
259
+ Layout/SpaceAfterComma:
260
+ Enabled: true
64
261
 
65
- Metrics/ClassLength:
66
- Max: 250
262
+ Layout/SpaceAfterMethodName:
263
+ Enabled: true
67
264
 
68
- Metrics/CyclomaticComplexity:
69
- Enabled: false
265
+ Layout/SpaceAfterNot:
266
+ Enabled: true
70
267
 
71
- Metrics/MethodLength:
72
- Max: 40
268
+ Layout/SpaceAfterSemicolon:
269
+ Enabled: true
73
270
 
74
- Metrics/ModuleLength:
75
- Max: 250
271
+ Layout/SpaceAroundBlockParameters:
272
+ Enabled: true
76
273
 
77
- Metrics/PerceivedComplexity:
78
- Enabled: false
274
+ Layout/SpaceAroundEqualsInParameterDefault:
275
+ Enabled: true
79
276
 
80
- Naming/MemoizedInstanceVariableName:
81
- EnforcedStyleForLeadingUnderscores: required
277
+ Layout/SpaceAroundKeyword:
278
+ Enabled: true
82
279
 
83
- RSpec/DescribeClass:
84
- Exclude:
85
- - spec/lib/tasks/deployment/**/*
280
+ Layout/SpaceAroundMethodCallOperator:
281
+ Enabled: true
86
282
 
87
- Style/BlockDelimiters:
88
- EnforcedStyle: braces_for_chaining
283
+ Layout/SpaceAroundOperators:
284
+ Enabled: true
89
285
 
90
- Style/ClassAndModuleChildren:
91
- Enabled: false
286
+ Layout/SpaceBeforeBlockBraces:
287
+ Enabled: true
92
288
 
93
- Style/Documentation:
94
- Enabled: false
289
+ Layout/SpaceBeforeComma:
290
+ Enabled: true
95
291
 
96
- Style/IfUnlessModifier:
292
+ Layout/SpaceBeforeComment:
97
293
  Enabled: true
98
- AutoCorrect: false
99
294
 
100
- Style/NumericLiterals:
101
- Strict: true
295
+ Layout/SpaceBeforeFirstArg:
296
+ Enabled: true
102
297
 
103
- Style/RegexpLiteral:
104
- AllowInnerSlashes: true
298
+ Layout/SpaceBeforeSemicolon:
299
+ Enabled: true
105
300
 
106
- Style/StructInheritance:
107
- Enabled: false
301
+ Layout/SpaceInLambdaLiteral:
302
+ Enabled: true
108
303
 
109
- Style/SymbolArray:
110
- EnforcedStyle: brackets
304
+ Layout/SpaceInsideArrayLiteralBrackets:
305
+ Enabled: true
111
306
 
112
- Style/WordArray:
113
- EnforcedStyle: brackets
307
+ Layout/SpaceInsideArrayPercentLiteral:
308
+ Enabled: true
114
309
 
115
- Rails/DynamicFindBy:
310
+ Layout/SpaceInsideBlockBraces:
116
311
  Enabled: true
117
- AutoCorrect: false
118
312
 
119
- Rails/UnknownEnv:
120
- Environments:
121
- - production
122
- - development
123
- - test
124
- - staging
313
+ Layout/SpaceInsideHashLiteralBraces:
314
+ Enabled: true
125
315
 
126
- RSpec/AnyInstance:
127
- Enabled: false
316
+ Layout/SpaceInsideParens:
317
+ Enabled: true
128
318
 
129
- RSpec/DescribedClass:
130
- EnforcedStyle: explicit
319
+ Layout/SpaceInsidePercentLiteralDelimiters:
320
+ Enabled: true
131
321
 
132
- RSpec/ExampleLength:
133
- Enabled: false
322
+ Layout/SpaceInsideRangeLiteral:
323
+ Enabled: true
134
324
 
135
- RSpec/HookArgument:
136
- EnforcedStyle: each
325
+ Layout/SpaceInsideReferenceBrackets:
326
+ Enabled: true
137
327
 
138
- RSpec/LetSetup:
139
- Enabled: false
328
+ Layout/SpaceInsideStringInterpolation:
329
+ Enabled: true
140
330
 
141
- RSpec/MultipleExpectations:
142
- Enabled: false
331
+ Layout/TrailingEmptyLines:
332
+ Enabled: true
143
333
 
144
- RSpec/NestedGroups:
145
- Max: 5
334
+ Layout/TrailingWhitespace:
335
+ Enabled: true
146
336
 
147
- RSpec/NotToNot:
148
- EnforcedStyle: to_not
337
+ #################### Lint ###############################
149
338
 
150
- RSpec/RepeatedDescription:
339
+ Lint/AmbiguousBlockAssociation:
340
+ Enabled: true
341
+
342
+ Lint/AmbiguousOperator:
343
+ Enabled: true
344
+
345
+ Lint/AmbiguousRegexpLiteral:
346
+ Enabled: true
347
+
348
+ Lint/AssignmentInCondition:
349
+ Enabled: true
350
+
351
+ Lint/BigDecimalNew:
352
+ Enabled: true
353
+
354
+ Lint/BinaryOperatorWithIdenticalOperands:
355
+ Enabled: true
356
+
357
+ Lint/BooleanSymbol:
358
+ Enabled: true
359
+
360
+ Lint/CircularArgumentReference:
361
+ Enabled: true
362
+
363
+ Lint/ConstantDefinitionInBlock:
364
+ Enabled: true
365
+
366
+ Lint/ConstantResolution:
151
367
  Enabled: false
368
+
369
+ Lint/Debugger:
370
+ Enabled: true
371
+
372
+ Lint/DeprecatedClassMethods:
373
+ Enabled: true
374
+
375
+ Lint/DeprecatedOpenSSLConstant:
376
+ Enabled: true
377
+
378
+ Lint/DisjunctiveAssignmentInConstructor:
379
+ Enabled: true
380
+
381
+ Lint/DuplicateBranch:
382
+ Enabled: pending
383
+
384
+ Lint/DuplicateCaseCondition:
385
+ Enabled: true
386
+
387
+ Lint/DuplicateElsifCondition:
388
+ Enabled: true
389
+
390
+ Lint/DuplicateHashKey:
391
+ Enabled: true
392
+
393
+ Lint/DuplicateMethods:
394
+ Enabled: true
395
+
396
+ Lint/DuplicateRegexpCharacterClassElement:
397
+ Enabled: true
398
+
399
+ Lint/DuplicateRequire:
400
+ Enabled: true
401
+
402
+ Lint/DuplicateRescueException:
403
+ Enabled: true
404
+
405
+ Lint/EachWithObjectArgument:
406
+ Enabled: true
407
+
408
+ Lint/ElseLayout:
409
+ Enabled: true
410
+
411
+ Lint/EmptyBlock:
412
+ Enabled: true
413
+
414
+ Lint/EmptyClass:
415
+ Enabled: true
416
+
417
+ Lint/EmptyConditionalBody:
418
+ Enabled: true
419
+
420
+ Lint/EmptyEnsure:
421
+ Enabled: true
422
+
423
+ Lint/EmptyExpression:
424
+ Enabled: true
425
+
426
+ Lint/EmptyFile:
427
+ Enabled: true
428
+
429
+ Lint/EmptyInterpolation:
430
+ Enabled: true
431
+
432
+ Lint/EmptyWhen:
433
+ Enabled: true
434
+
435
+ Lint/EnsureReturn:
436
+ Enabled: true
437
+
438
+ Lint/ErbNewArguments:
439
+ Enabled: true
440
+
441
+ Lint/FlipFlop:
442
+ Enabled: true
443
+
444
+ Lint/FloatComparison:
445
+ Enabled: true
446
+
447
+ Lint/FloatOutOfRange:
448
+ Enabled: true
449
+
450
+ Lint/FormatParameterMismatch:
451
+ Enabled: true
452
+
453
+ Lint/HashCompareByIdentity:
454
+ Enabled: true
455
+
456
+ Lint/HeredocMethodCallPosition:
457
+ Enabled: false
458
+
459
+ Lint/IdentityComparison:
460
+ Enabled: true
461
+
462
+ Lint/ImplicitStringConcatenation:
463
+ Enabled: true
464
+
465
+ Lint/IneffectiveAccessModifier:
466
+ Enabled: true
467
+
468
+ Lint/InheritException:
469
+ Enabled: true
470
+
471
+ Lint/InterpolationCheck:
472
+ Enabled: true
473
+
474
+ Lint/LiteralAsCondition:
475
+ Enabled: true
476
+
477
+ Lint/LiteralInInterpolation:
478
+ Enabled: true
479
+
480
+ Lint/Loop:
481
+ Enabled: true
482
+
483
+ Lint/MissingCopEnableDirective:
484
+ Enabled: true
485
+
486
+ Lint/MissingSuper:
487
+ Enabled: false
488
+
489
+ Lint/MixedRegexpCaptureTypes:
490
+ Enabled: true
491
+
492
+ Lint/MultipleComparison:
493
+ Enabled: true
494
+
495
+ Lint/NestedMethodDefinition:
496
+ Enabled: true
497
+
498
+ Lint/NestedPercentLiteral:
499
+ Enabled: true
500
+
501
+ Lint/NextWithoutAccumulator:
502
+ Enabled: true
503
+
504
+ Lint/NoReturnInBeginEndBlocks:
505
+ Enabled: true
506
+
507
+ Lint/NonDeterministicRequireOrder:
508
+ Enabled: true
509
+
510
+ Lint/NonLocalExitFromIterator:
511
+ Enabled: true
512
+
513
+ Lint/NumberConversion:
514
+ Enabled: false
515
+
516
+ Lint/OrderedMagicComments:
517
+ Enabled: true
518
+
519
+ Lint/OutOfRangeRegexpRef:
520
+ Enabled: true
521
+
522
+ Lint/ParenthesesAsGroupedExpression:
523
+ Enabled: true
524
+
525
+ Lint/PercentStringArray:
526
+ Enabled: true
527
+
528
+ Lint/PercentSymbolArray:
529
+ Enabled: true
530
+
531
+ Lint/RaiseException:
532
+ Enabled: true
533
+
534
+ Lint/RandOne:
535
+ Enabled: true
536
+
537
+ Lint/RedundantCopDisableDirective:
538
+ Enabled: true
539
+
540
+ Lint/RedundantCopEnableDirective:
541
+ Enabled: true
542
+
543
+ Lint/RedundantRequireStatement:
544
+ Enabled: true
545
+
546
+ Lint/RedundantSafeNavigation:
547
+ Enabled: true
548
+
549
+ Lint/RedundantSplatExpansion:
550
+ Enabled: true
551
+
552
+ Lint/RedundantStringCoercion:
553
+ Enabled: true
554
+
555
+ Lint/RedundantWithIndex:
556
+ Enabled: true
557
+
558
+ Lint/RedundantWithObject:
559
+ Enabled: true
560
+
561
+ Lint/RegexpAsCondition:
562
+ Enabled: true
563
+
564
+ Lint/RequireParentheses:
565
+ Enabled: true
566
+
567
+ Lint/RescueException:
568
+ Enabled: false
569
+
570
+ Lint/RescueType:
571
+ Enabled: true
572
+
573
+ Lint/ReturnInVoidContext:
574
+ Enabled: true
575
+
576
+ Lint/SafeNavigationChain:
577
+ Enabled: true
578
+
579
+ Lint/SafeNavigationConsistency:
580
+ Enabled: true
581
+
582
+ Lint/SafeNavigationWithEmpty:
583
+ Enabled: true
584
+
585
+ Lint/ScriptPermission:
586
+ Enabled: true
587
+
588
+ Lint/SelfAssignment:
589
+ Enabled: true
590
+
591
+ Lint/SendWithMixinArgument:
592
+ Enabled: true
593
+
594
+ Lint/ShadowedArgument:
595
+ Enabled: true
596
+
597
+ Lint/ShadowedException:
598
+ Enabled: true
599
+
600
+ Lint/ShadowingOuterLocalVariable:
601
+ Enabled: true
602
+
603
+ Lint/StructNewOverride:
604
+ Enabled: true
605
+
606
+ Lint/SuppressedException:
607
+ Enabled: true
608
+
609
+ Lint/Syntax:
610
+ Enabled: true
611
+
612
+ Lint/ToEnumArguments:
613
+ Enabled: true
614
+
615
+ Lint/ToJSON:
616
+ Enabled: true
617
+
618
+ Lint/TopLevelReturnWithArgument:
619
+ Enabled: true
620
+
621
+ Lint/TrailingCommaInAttributeDeclaration:
622
+ Enabled: true
623
+
624
+ Lint/UnderscorePrefixedVariableName:
625
+ Enabled: true
626
+
627
+ Lint/UnexpectedBlockArity:
628
+ Enabled: pending
629
+
630
+ Lint/UnifiedInteger:
631
+ Enabled: true
632
+
633
+ Lint/UnmodifiedReduceAccumulator:
634
+ Enabled: pending
635
+
636
+ Lint/UnreachableCode:
637
+ Enabled: true
638
+
639
+ Lint/UnreachableLoop:
640
+ Enabled: true
641
+
642
+ Lint/UnusedBlockArgument:
643
+ Enabled: true
644
+
645
+ Lint/UnusedMethodArgument:
646
+ Enabled: true
647
+
648
+ Lint/UriEscapeUnescape:
649
+ Enabled: true
650
+
651
+ Lint/UriRegexp:
652
+ Enabled: true
653
+
654
+ Lint/UselessAccessModifier:
655
+ Enabled: true
656
+
657
+ Lint/UselessAssignment:
658
+ Enabled: true
659
+
660
+ Lint/UselessElseWithoutRescue:
661
+ Enabled: true
662
+
663
+ Lint/UselessMethodDefinition:
664
+ Enabled: true
665
+
666
+ Lint/UselessSetterCall:
667
+ Enabled: true
668
+
669
+ Lint/UselessTimes:
670
+ Enabled: true
671
+
672
+ Lint/Void:
673
+ Enabled: true
674
+
675
+ #################### Metrics ###############################
676
+
677
+ Metrics/AbcSize:
678
+ Enabled: false
679
+
680
+ Metrics/BlockLength:
681
+ Enabled: false
682
+
683
+ Metrics/BlockNesting:
684
+ Enabled: true
685
+
686
+ Metrics/ClassLength:
687
+ Enabled: false
688
+
689
+ Metrics/CyclomaticComplexity:
690
+ Enabled: false
691
+
692
+ Metrics/MethodLength:
693
+ Enabled: false
694
+
695
+ Metrics/ModuleLength:
696
+ Enabled: false
697
+
698
+ Metrics/ParameterLists:
699
+ Enabled: false
700
+
701
+ Metrics/PerceivedComplexity:
702
+ Enabled: false
703
+
704
+ #################### Migration ###############################
705
+
706
+ Migration/DepartmentName:
707
+ Enabled: true
708
+
709
+ #################### Naming ###############################
710
+
711
+ Naming/AccessorMethodName:
712
+ Enabled: true
713
+
714
+ Naming/AsciiIdentifiers:
715
+ Enabled: true
716
+
717
+ Naming/BinaryOperatorParameterName:
718
+ Enabled: true
719
+
720
+ Naming/BlockParameterName:
721
+ Enabled: true
722
+
723
+ Naming/ClassAndModuleCamelCase:
724
+ Enabled: true
725
+
726
+ Naming/ConstantName:
727
+ Enabled: true
728
+
729
+ Naming/FileName:
730
+ Enabled: true
731
+
732
+ Naming/HeredocDelimiterCase:
733
+ Enabled: true
734
+
735
+ Naming/HeredocDelimiterNaming:
736
+ Enabled: true
737
+
738
+ Naming/MemoizedInstanceVariableName:
739
+ EnforcedStyleForLeadingUnderscores: required
740
+
741
+ Naming/MethodName:
742
+ Enabled: true
743
+
744
+ Naming/MethodParameterName:
745
+ Enabled: true
746
+
747
+ Naming/PredicateName:
748
+ Enabled: false
749
+
750
+ Naming/RescuedExceptionsVariableName:
751
+ Enabled: true
752
+
753
+ Naming/VariableName:
754
+ Enabled: false
755
+
756
+ Naming/VariableNumber:
757
+ Enabled: false
758
+
759
+ #################### Security ###############################
760
+
761
+ Security/Eval:
762
+ Enabled: true
763
+
764
+ Security/JSONLoad:
765
+ Enabled: true
766
+
767
+ Security/MarshalLoad:
768
+ Enabled: true
769
+
770
+ Security/Open:
771
+ Enabled: true
772
+
773
+ Security/YAMLLoad:
774
+ Enabled: true
775
+
776
+ #################### Style ###############################
777
+
778
+ Style/AccessModifierDeclarations:
779
+ Enabled: true
780
+
781
+ Style/AccessorGrouping:
782
+ Enabled: true
783
+
784
+ Style/Alias:
785
+ Enabled: true
786
+
787
+ Style/AndOr:
788
+ Enabled: true
789
+
790
+ Style/ArgumentsForwarding:
791
+ Enabled: pending
792
+
793
+ Style/ArrayCoercion:
794
+ Enabled: false
795
+
796
+ Style/ArrayJoin:
797
+ Enabled: true
798
+
799
+ Style/AsciiComments:
800
+ Enabled: true
801
+
802
+ Style/Attr:
803
+ Enabled: true
804
+
805
+ Style/AutoResourceCleanup:
806
+ Enabled: false
807
+
808
+ Style/BarePercentLiterals:
809
+ Enabled: true
810
+
811
+ Style/BeginBlock:
812
+ Enabled: true
813
+
814
+ Style/BisectedAttrAccessor:
815
+ Enabled: true
816
+
817
+ Style/BlockComments:
818
+ Enabled: true
819
+
820
+ Style/BlockDelimiters:
821
+ Enabled: true
822
+ EnforcedStyle: braces_for_chaining
823
+
824
+ Style/CaseEquality:
825
+ Enabled: true
826
+
827
+ Style/CaseLikeIf:
828
+ Enabled: true
829
+
830
+ Style/CharacterLiteral:
831
+ Enabled: true
832
+
833
+ Style/ClassAndModuleChildren:
834
+ Enabled: false
835
+
836
+ Style/ClassCheck:
837
+ Enabled: true
838
+
839
+ Style/ClassEqualityComparison:
840
+ Enabled: true
841
+
842
+ Style/ClassMethods:
843
+ Enabled: true
844
+
845
+ Style/ClassMethodsDefinitions:
846
+ Enabled: false
847
+
848
+ Style/ClassVars:
849
+ Enabled: true
850
+
851
+ Style/CollectionCompact:
852
+ Enabled: true
853
+
854
+ Style/CollectionMethods:
855
+ Enabled: false
856
+
857
+ Style/ColonMethodCall:
858
+ Enabled: true
859
+
860
+ Style/ColonMethodDefinition:
861
+ Enabled: true
862
+
863
+ Style/CombinableLoops:
864
+ Enabled: true
865
+
866
+ Style/CommandLiteral:
867
+ Enabled: true
868
+
869
+ Style/CommentAnnotation:
870
+ Enabled: true
871
+
872
+ Style/CommentedKeyword:
873
+ Enabled: true
874
+
875
+ Style/ConditionalAssignment:
876
+ Enabled: true
877
+
878
+ Style/ConstantVisibility:
879
+ Enabled: false
880
+
881
+ # Style/Copyright:
882
+
883
+ # Enabled: true
884
+
885
+ Style/Copyright:
886
+ Enabled: false
887
+
888
+ Style/DateTime:
889
+ Enabled: false
890
+
891
+ Style/DefWithParentheses:
892
+ Enabled: true
893
+
894
+ Style/Dir:
895
+ Enabled: true
896
+
897
+ Style/DisableCopsWithinSourceCodeDirective:
898
+ Enabled: false
899
+
900
+ Style/DocumentDynamicEvalDefinition:
901
+ Enabled: pending
902
+
903
+ Style/Documentation:
904
+ Enabled: false
905
+
906
+ Style/DocumentationMethod:
907
+ Enabled: false
908
+
909
+ Style/DoubleCopDisableDirective:
910
+ Enabled: true
911
+
912
+ Style/DoubleNegation:
913
+ Enabled: true
914
+
915
+ Style/EachForSimpleLoop:
916
+ Enabled: true
917
+
918
+ Style/EachWithObject:
919
+ Enabled: true
920
+
921
+ Style/EmptyBlockParameter:
922
+ Enabled: true
923
+
924
+ Style/EmptyCaseCondition:
925
+ Enabled: true
926
+
927
+ Style/EmptyElse:
928
+ Enabled: true
929
+
930
+ Style/EmptyLambdaParameter:
931
+ Enabled: true
932
+
933
+ Style/EmptyLiteral:
934
+ Enabled: true
935
+
936
+ Style/EmptyMethod:
937
+ Enabled: true
938
+
939
+ Style/Encoding:
940
+ Enabled: true
941
+
942
+ Style/EndBlock:
943
+ Enabled: true
944
+
945
+ Style/EvalWithLocation:
946
+ Enabled: false
947
+
948
+ Style/EvenOdd:
949
+ Enabled: true
950
+
951
+ Style/ExpandPathArguments:
952
+ Enabled: true
953
+
954
+ Style/ExplicitBlockArgument:
955
+ Enabled: true
956
+ AutoCorrect: false
957
+
958
+ Style/ExponentialNotation:
959
+ Enabled: true
960
+
961
+ Style/FloatDivision:
962
+ Enabled: true
963
+
964
+ Style/For:
965
+ Enabled: true
966
+
967
+ Style/FormatString:
968
+ Enabled: true
969
+
970
+ Style/FormatStringToken:
971
+ Enabled: true
972
+
973
+ Style/FrozenStringLiteralComment:
974
+ Enabled: true
975
+ Exclude:
976
+ - spec/lib/tasks/deployment/**/*
977
+
978
+ Style/GlobalStdStream:
979
+ Enabled: true
980
+
981
+ Style/GlobalVars:
982
+ Enabled: true
983
+
984
+ Style/GuardClause:
985
+ Enabled: false
986
+
987
+ Style/HashAsLastArrayItem:
988
+ Enabled: true
989
+
990
+ Style/HashEachMethods:
991
+ Enabled: true
992
+
993
+ Style/HashLikeCase:
994
+ Enabled: true
995
+
996
+ Style/HashSyntax:
997
+ Enabled: true
998
+
999
+ Style/HashTransformKeys:
1000
+ Enabled: true
1001
+
1002
+ Style/HashTransformValues:
1003
+ Enabled: true
1004
+
1005
+ Style/IdenticalConditionalBranches:
1006
+ Enabled: true
1007
+
1008
+ Style/IfInsideElse:
1009
+ Enabled: true
1010
+
1011
+ Style/IfUnlessModifier:
1012
+ Enabled: false
1013
+
1014
+ Style/IfUnlessModifierOfIfUnless:
1015
+ Enabled: true
1016
+
1017
+ Style/IfWithSemicolon:
1018
+ Enabled: true
1019
+
1020
+ Style/ImplicitRuntimeError:
1021
+ Enabled: false
1022
+
1023
+ Style/InfiniteLoop:
1024
+ Enabled: true
1025
+
1026
+ Style/InlineComment:
1027
+ Enabled: false
1028
+
1029
+ Style/InverseMethods:
1030
+ Enabled: true
1031
+
1032
+ Style/IpAddresses:
1033
+ Enabled: false
1034
+
1035
+ Style/KeywordParametersOrder:
1036
+ Enabled: true
1037
+
1038
+ Style/Lambda:
1039
+ Enabled: true
1040
+
1041
+ Style/LambdaCall:
1042
+ Enabled: true
1043
+
1044
+ Style/LineEndConcatenation:
1045
+ Enabled: true
1046
+
1047
+ Style/MethodCallWithArgsParentheses:
1048
+ Enabled: false
1049
+
1050
+ Style/MethodCallWithoutArgsParentheses:
1051
+ Enabled: true
1052
+
1053
+ Style/MethodCalledOnDoEndBlock:
1054
+ Enabled: false
1055
+
1056
+ Style/MethodDefParentheses:
1057
+ Enabled: true
1058
+
1059
+ Style/MinMax:
1060
+ Enabled: true
1061
+
1062
+ Style/MissingElse:
1063
+ Enabled: false
1064
+
1065
+ Style/MissingRespondToMissing:
1066
+ Enabled: true
1067
+
1068
+ Style/MixinGrouping:
1069
+ Enabled: true
1070
+
1071
+ Style/MixinUsage:
1072
+ Enabled: true
1073
+
1074
+ Style/ModuleFunction:
1075
+ Enabled: true
1076
+
1077
+ Style/MultilineBlockChain:
1078
+ Enabled: true
1079
+
1080
+ Style/MultilineIfModifier:
1081
+ Enabled: true
1082
+
1083
+ Style/MultilineIfThen:
1084
+ Enabled: true
1085
+
1086
+ Style/MultilineMemoization:
1087
+ Enabled: true
1088
+
1089
+ Style/MultilineMethodSignature:
1090
+ Enabled: false
1091
+
1092
+ Style/MultilineTernaryOperator:
1093
+ Enabled: true
1094
+
1095
+ Style/MultilineWhenThen:
1096
+ Enabled: true
1097
+
1098
+ Style/MultipleComparison:
1099
+ Enabled: true
1100
+
1101
+ Style/MutableConstant:
1102
+ Enabled: true
1103
+
1104
+ Style/NegatedIf:
1105
+ Enabled: false
1106
+
1107
+ Style/NegatedIfElseCondition:
1108
+ Enabled: false
1109
+
1110
+ Style/NegatedUnless:
1111
+ Enabled: false
1112
+
1113
+ Style/NegatedWhile:
1114
+ Enabled: false
1115
+
1116
+ Style/NestedModifier:
1117
+ Enabled: true
1118
+
1119
+ Style/NestedParenthesizedCalls:
1120
+ Enabled: true
1121
+
1122
+ Style/NestedTernaryOperator:
1123
+ Enabled: true
1124
+
1125
+ Style/Next:
1126
+ Enabled: true
1127
+
1128
+ Style/NilComparison:
1129
+ Enabled: true
1130
+
1131
+ Style/NilLambda:
1132
+ Enabled: true
1133
+
1134
+ Style/NonNilCheck:
1135
+ Enabled: true
1136
+
1137
+ Style/Not:
1138
+ Enabled: true
1139
+
1140
+ Style/NumericLiteralPrefix:
1141
+ Enabled: true
1142
+
1143
+ Style/NumericLiterals:
1144
+ Enabled: true
1145
+ Strict: true
1146
+
1147
+ Style/NumericPredicate:
1148
+ Enabled: true
1149
+
1150
+ Style/OneLineConditional:
1151
+ Enabled: true
1152
+
1153
+ Style/OptionHash:
1154
+ Enabled: false
1155
+
1156
+ Style/OptionalArguments:
1157
+ Enabled: true
1158
+
1159
+ Style/OptionalBooleanParameter:
1160
+ Enabled: true
1161
+
1162
+ Style/OrAssignment:
1163
+ Enabled: true
1164
+
1165
+ Style/ParallelAssignment:
1166
+ Enabled: true
1167
+
1168
+ Style/ParenthesesAroundCondition:
1169
+ Enabled: true
1170
+
1171
+ Style/PercentLiteralDelimiters:
1172
+ Enabled: true
1173
+
1174
+ Style/PercentQLiterals:
1175
+ Enabled: true
1176
+
1177
+ Style/PerlBackrefs:
1178
+ Enabled: true
1179
+
1180
+ Style/PreferredHashMethods:
1181
+ Enabled: true
1182
+
1183
+ Style/Proc:
1184
+ Enabled: true
1185
+
1186
+ Style/RaiseArgs:
1187
+ Enabled: true
1188
+
1189
+ Style/RandomWithOffset:
1190
+ Enabled: true
1191
+
1192
+ Style/RedundantArgument:
1193
+ Enabled: true
1194
+
1195
+ Style/RedundantAssignment:
1196
+ Enabled: true
1197
+
1198
+ Style/RedundantBegin:
1199
+ Enabled: true
1200
+
1201
+ Style/RedundantCapitalW:
1202
+ Enabled: true
1203
+
1204
+ Style/RedundantCondition:
1205
+ Enabled: true
1206
+
1207
+ Style/RedundantConditional:
1208
+ Enabled: true
1209
+
1210
+ Style/RedundantException:
1211
+ Enabled: true
1212
+
1213
+ Style/RedundantFetchBlock:
1214
+ Enabled: true
1215
+
1216
+ Style/RedundantFileExtensionInRequire:
1217
+ Enabled: true
1218
+
1219
+ Style/RedundantFreeze:
1220
+ Enabled: true
1221
+
1222
+ Style/RedundantInterpolation:
1223
+ Enabled: true
1224
+
1225
+ Style/RedundantParentheses:
1226
+ Enabled: true
1227
+
1228
+ Style/RedundantPercentQ:
1229
+ Enabled: true
1230
+
1231
+ Style/RedundantRegexpCharacterClass:
1232
+ Enabled: true
1233
+
1234
+ Style/RedundantRegexpEscape:
1235
+ Enabled: true
1236
+
1237
+ Style/RedundantReturn:
1238
+ Enabled: true
1239
+
1240
+ Style/RedundantSelf:
1241
+ Enabled: true
1242
+
1243
+ Style/RedundantSelfAssignment:
1244
+ Enabled: true
1245
+
1246
+ Style/RedundantSort:
1247
+ Enabled: true
1248
+
1249
+ Style/RedundantSortBy:
1250
+ Enabled: true
1251
+
1252
+ Style/RegexpLiteral:
1253
+ Enabled: true
1254
+ AllowInnerSlashes: true
1255
+
1256
+ Style/RescueModifier:
1257
+ Enabled: true
1258
+
1259
+ Style/RescueStandardError:
1260
+ Enabled: true
1261
+
1262
+ Style/ReturnNil:
1263
+ Enabled: false
1264
+
1265
+ Style/SafeNavigation:
1266
+ Enabled: true
1267
+
1268
+ Style/Sample:
1269
+ Enabled: true
1270
+
1271
+ Style/SelfAssignment:
1272
+ Enabled: true
1273
+
1274
+ Style/Semicolon:
1275
+ Enabled: true
1276
+
1277
+ Style/Send:
1278
+ Enabled: false
1279
+
1280
+ Style/SignalException:
1281
+ Enabled: true
1282
+
1283
+ Style/SingleArgumentDig:
1284
+ Enabled: true
1285
+
1286
+ Style/SingleLineBlockParams:
1287
+ Enabled: false
1288
+
1289
+ Style/SingleLineMethods:
1290
+ Enabled: true
1291
+
1292
+ Style/SlicingWithRange:
1293
+ Enabled: true
1294
+
1295
+ Style/SoleNestedConditional:
1296
+ Enabled: true
1297
+
1298
+ Style/SpecialGlobalVars:
1299
+ Enabled: true
1300
+
1301
+ Style/StabbyLambdaParentheses:
1302
+ Enabled: true
1303
+
1304
+ Style/StaticClass:
1305
+ Enabled: false
1306
+
1307
+ Style/StderrPuts:
1308
+ Enabled: true
1309
+
1310
+ Style/StringConcatenation:
1311
+ Enabled: true
1312
+
1313
+ Style/StringHashKeys:
1314
+ Enabled: false
1315
+
1316
+ Style/StringLiterals:
1317
+ Enabled: true
1318
+
1319
+ Style/StringLiteralsInInterpolation:
1320
+ Enabled: true
1321
+
1322
+ Style/StringMethods:
1323
+ Enabled: false
1324
+
1325
+ Style/Strip:
1326
+ Enabled: true
1327
+
1328
+ Style/StructInheritance:
1329
+ Enabled: false
1330
+
1331
+ Style/SwapValues:
1332
+ Enabled: false
1333
+
1334
+ Style/SymbolArray:
1335
+ Enabled: true
1336
+ EnforcedStyle: brackets
1337
+
1338
+ Style/SymbolLiteral:
1339
+ Enabled: true
1340
+
1341
+ Style/SymbolProc:
1342
+ Enabled: true
1343
+
1344
+ Style/TernaryParentheses:
1345
+ Enabled: true
1346
+
1347
+ Style/TrailingBodyOnClass:
1348
+ Enabled: true
1349
+
1350
+ Style/TrailingBodyOnMethodDefinition:
1351
+ Enabled: true
1352
+
1353
+ Style/TrailingBodyOnModule:
1354
+ Enabled: true
1355
+
1356
+ Style/TrailingCommaInArguments:
1357
+ Enabled: true
1358
+ EnforcedStyleForMultiline: comma
1359
+
1360
+ Style/TrailingCommaInArrayLiteral:
1361
+ Enabled: true
1362
+ EnforcedStyleForMultiline: comma
1363
+
1364
+ Style/TrailingCommaInBlockArgs:
1365
+ Enabled: false
1366
+
1367
+ Style/TrailingCommaInHashLiteral:
1368
+ EnforcedStyleForMultiline: comma
1369
+ Enabled: true
1370
+
1371
+ Style/TrailingMethodEndStatement:
1372
+ Enabled: true
1373
+
1374
+ Style/TrailingUnderscoreVariable:
1375
+ Enabled: true
1376
+
1377
+ Style/TrivialAccessors:
1378
+ Enabled: true
1379
+
1380
+ Style/UnlessElse:
1381
+ Enabled: true
1382
+
1383
+ Style/UnpackFirst:
1384
+ Enabled: true
1385
+
1386
+ Style/VariableInterpolation:
1387
+ Enabled: true
1388
+
1389
+ Style/WhenThen:
1390
+ Enabled: true
1391
+
1392
+ Style/WhileUntilDo:
1393
+ Enabled: true
1394
+
1395
+ Style/WhileUntilModifier:
1396
+ Enabled: true
1397
+
1398
+ Style/WordArray:
1399
+ Enabled: true
1400
+ EnforcedStyle: brackets
1401
+
1402
+ Style/YodaCondition:
1403
+ Enabled: true
1404
+
1405
+ Style/ZeroLengthPredicate:
1406
+ Enabled: true
1407
+
1408
+ #################### Performance ###############################
1409
+
1410
+ Performance/AncestorsInclude:
1411
+ Enabled: 'pending'
1412
+
1413
+ Performance/ArraySemiInfiniteRangeSlice:
1414
+ Enabled: false
1415
+
1416
+ Performance/BigDecimalWithNumericArgument:
1417
+ Enabled: 'pending'
1418
+
1419
+ Performance/BindCall:
1420
+ Enabled: true
1421
+
1422
+ Performance/BlockGivenWithExplicitBlock:
1423
+ Enabled: pending
1424
+
1425
+ Performance/Caller:
1426
+ Enabled: true
1427
+
1428
+ Performance/CaseWhenSplat:
1429
+ Enabled: false
1430
+
1431
+ Performance/Casecmp:
1432
+ Enabled: true
1433
+
1434
+ Performance/ChainArrayAllocation:
1435
+ Enabled: false
1436
+
1437
+ Performance/CollectionLiteralInLoop:
1438
+ Enabled: true
1439
+
1440
+ Performance/CompareWithBlock:
1441
+ Enabled: true
1442
+
1443
+ Performance/ConstantRegexp:
1444
+ Enabled: true
1445
+
1446
+ Performance/Count:
1447
+ Enabled: true
1448
+
1449
+ Performance/DeletePrefix:
1450
+ Enabled: true
1451
+
1452
+ Performance/DeleteSuffix:
1453
+ Enabled: true
1454
+
1455
+ Performance/Detect:
1456
+ Enabled: true
1457
+
1458
+ Performance/DoubleStartEndWith:
1459
+ Enabled: true
1460
+
1461
+ Performance/EndWith:
1462
+ Enabled: true
1463
+
1464
+ Performance/FixedSize:
1465
+ Enabled: true
1466
+
1467
+ Performance/FlatMap:
1468
+ Enabled: true
1469
+
1470
+ Performance/InefficientHashSearch:
1471
+ Enabled: true
1472
+
1473
+ Performance/IoReadlines:
1474
+ Enabled: false
1475
+
1476
+ Performance/MethodObjectAsBlock:
1477
+ Enabled: true
1478
+
1479
+ Performance/OpenStruct:
1480
+ Enabled: false
1481
+
1482
+ Performance/RangeInclude:
1483
+ Enabled: true
1484
+
1485
+ Performance/RedundantBlockCall:
1486
+ Enabled: true
1487
+
1488
+ Performance/RedundantMatch:
1489
+ Enabled: true
1490
+
1491
+ Performance/RedundantMerge:
1492
+ Enabled: true
1493
+
1494
+ Performance/RedundantSortBlock:
1495
+ Enabled: true
1496
+
1497
+ Performance/RedundantStringChars:
1498
+ Enabled: true
1499
+
1500
+ Performance/RegexpMatch:
1501
+ Enabled: true
1502
+
1503
+ Performance/ReverseEach:
1504
+ Enabled: true
1505
+
1506
+ Performance/ReverseFirst:
1507
+ Enabled: 'pending'
1508
+
1509
+ Performance/Size:
1510
+ Enabled: true
1511
+
1512
+ Performance/SortReverse:
1513
+ Enabled: 'pending'
1514
+
1515
+ Performance/Squeeze:
1516
+ Enabled: 'pending'
1517
+
1518
+ Performance/StartWith:
1519
+ Enabled: true
1520
+
1521
+ Performance/StringInclude:
1522
+ Enabled: true
1523
+
1524
+ Performance/StringReplacement:
1525
+ Enabled: true
1526
+
1527
+ Performance/Sum:
1528
+ Enabled: 'pending'
1529
+
1530
+ Performance/TimesMap:
1531
+ Enabled: true
1532
+
1533
+ Performance/UnfreezeString:
1534
+ Enabled: true
1535
+
1536
+ Performance/UriDefaultParser:
1537
+ Enabled: true
1538
+
1539
+ #################### Rails ###############################
1540
+
1541
+ Rails/ActionFilter:
1542
+ Enabled: true
1543
+
1544
+ Rails/ActiveRecordAliases:
1545
+ Enabled: true
1546
+
1547
+ Rails/ActiveRecordCallbacksOrder:
1548
+ Enabled: 'pending'
1549
+
1550
+ Rails/ActiveRecordOverride:
1551
+ Enabled: true
1552
+
1553
+ Rails/ActiveSupportAliases:
1554
+ Enabled: true
1555
+
1556
+ Rails/AfterCommitOverride:
1557
+ Enabled: 'pending'
1558
+
1559
+ Rails/ApplicationController:
1560
+ Enabled: true
1561
+ AutoCorrect: false
1562
+
1563
+ Rails/ApplicationJob:
1564
+ Enabled: true
1565
+ AutoCorrect: false
1566
+
1567
+ Rails/ApplicationMailer:
1568
+ Enabled: true
1569
+
1570
+ Rails/ApplicationRecord:
1571
+ Enabled: true
1572
+
1573
+ Rails/ArelStar:
1574
+ Enabled: true
1575
+
1576
+ Rails/AssertNot:
1577
+ Enabled: true
1578
+
1579
+ Rails/AttributeDefaultBlockValue:
1580
+ Enabled: pending
1581
+
1582
+ Rails/BelongsTo:
1583
+ Enabled: true
1584
+
1585
+ Rails/Blank:
1586
+ Enabled: true
1587
+
1588
+ Rails/BulkChangeTable:
1589
+ Enabled: true
1590
+
1591
+ Rails/ContentTag:
1592
+ Enabled: true
1593
+
1594
+ Rails/CreateTableWithTimestamps:
1595
+ Enabled: true
1596
+
1597
+ Rails/Date:
1598
+ Enabled: true
1599
+
1600
+ Rails/DefaultScope:
1601
+ Enabled: false
1602
+
1603
+ Rails/Delegate:
1604
+ Enabled: true
1605
+
1606
+ Rails/DelegateAllowBlank:
1607
+ Enabled: true
1608
+
1609
+ Rails/DynamicFindBy:
1610
+ Enabled: true
1611
+ AutoCorrect: false
1612
+
1613
+ Rails/EnumHash:
1614
+ Enabled: true
1615
+
1616
+ Rails/EnumUniqueness:
1617
+ Enabled: true
1618
+
1619
+ Rails/EnvironmentComparison:
1620
+ Enabled: true
1621
+
1622
+ Rails/Exit:
1623
+ Enabled: true
1624
+
1625
+ Rails/FilePath:
1626
+ Enabled: true
1627
+
1628
+ Rails/FindBy:
1629
+ Enabled: true
1630
+
1631
+ Rails/FindById:
1632
+ Enabled: 'pending'
1633
+
1634
+ Rails/FindEach:
1635
+ Enabled: true
1636
+
1637
+ Rails/HasAndBelongsToMany:
1638
+ Enabled: true
1639
+
1640
+ Rails/HasManyOrHasOneDependent:
1641
+ Enabled: true
1642
+
1643
+ Rails/HelperInstanceVariable:
1644
+ Enabled: true
1645
+
1646
+ Rails/HttpPositionalArguments:
1647
+ Enabled: true
1648
+
1649
+ Rails/HttpStatus:
1650
+ Enabled: true
1651
+
1652
+ Rails/IgnoredSkipActionFilterOption:
1653
+ Enabled: true
1654
+
1655
+ Rails/IndexBy:
1656
+ Enabled: true
1657
+
1658
+ Rails/IndexWith:
1659
+ Enabled: true
1660
+
1661
+ Rails/Inquiry:
1662
+ Enabled: 'pending'
1663
+
1664
+ Rails/InverseOf:
1665
+ Enabled: true
1666
+
1667
+ Rails/LexicallyScopedActionFilter:
1668
+ Enabled: true
1669
+
1670
+ Rails/LinkToBlank:
1671
+ Enabled: true
1672
+
1673
+ Rails/MailerName:
1674
+ Enabled: 'pending'
1675
+
1676
+ Rails/MatchRoute:
1677
+ Enabled: 'pending'
1678
+
1679
+ Rails/NegateInclude:
1680
+ Enabled: 'pending'
1681
+
1682
+ Rails/NotNullColumn:
1683
+ Enabled: true
1684
+
1685
+ Rails/OrderById:
1686
+ Enabled: false
1687
+
1688
+ Rails/Output:
1689
+ Enabled: true
1690
+
1691
+ Rails/OutputSafety:
1692
+ Enabled: true
1693
+
1694
+ Rails/Pick:
1695
+ Enabled: true
1696
+
1697
+ Rails/Pluck:
1698
+ Enabled: 'pending'
1699
+
1700
+ Rails/PluckId:
1701
+ Enabled: false
1702
+
1703
+ Rails/PluckInWhere:
1704
+ Enabled: 'pending'
1705
+
1706
+ Rails/PluralizationGrammar:
1707
+ Enabled: true
1708
+
1709
+ Rails/Presence:
1710
+ Enabled: true
1711
+
1712
+ Rails/Present:
1713
+ Enabled: true
1714
+
1715
+ Rails/RakeEnvironment:
1716
+ Enabled: true
1717
+
1718
+ Rails/ReadWriteAttribute:
1719
+ Enabled: true
1720
+
1721
+ Rails/RedundantAllowNil:
1722
+ Enabled: true
1723
+
1724
+ Rails/RedundantForeignKey:
1725
+ Enabled: true
1726
+
1727
+ Rails/RedundantReceiverInWithOptions:
1728
+ Enabled: true
1729
+
1730
+ Rails/ReflectionClassName:
1731
+ Enabled: true
1732
+
1733
+ Rails/RefuteMethods:
1734
+ Enabled: true
1735
+
1736
+ Rails/RelativeDateConstant:
1737
+ Enabled: true
1738
+
1739
+ Rails/RenderInline:
1740
+ Enabled: 'pending'
1741
+
1742
+ Rails/RenderPlainText:
1743
+ Enabled: 'pending'
1744
+
1745
+ Rails/RequestReferer:
1746
+ Enabled: true
1747
+
1748
+ Rails/ReversibleMigration:
1749
+ Enabled: true
1750
+
1751
+ Rails/SafeNavigation:
1752
+ Enabled: true
1753
+
1754
+ Rails/SafeNavigationWithBlank:
1755
+ Enabled: true
1756
+
1757
+ Rails/SaveBang:
1758
+ Enabled: false
1759
+
1760
+ Rails/ScopeArgs:
1761
+ Enabled: true
1762
+
1763
+ Rails/ShortI18n:
1764
+ Enabled: 'pending'
1765
+
1766
+ Rails/SkipsModelValidations:
1767
+ Enabled: true
1768
+
1769
+ Rails/SquishedSQLHeredocs:
1770
+ Enabled: 'pending'
1771
+
1772
+ Rails/TimeZone:
1773
+ Enabled: true
1774
+
1775
+ Rails/UniqBeforePluck:
1776
+ Enabled: true
1777
+
1778
+ Rails/UniqueValidationWithoutIndex:
1779
+ Enabled: true
1780
+
1781
+ Rails/UnknownEnv:
1782
+ Enabled: true
1783
+ Environments:
1784
+ - development
1785
+ - production
1786
+ - review
1787
+ - staging
1788
+ - test
1789
+
1790
+ Rails/Validation:
1791
+ Enabled: true
1792
+
1793
+ Rails/WhereEquals:
1794
+ Enabled: 'pending'
1795
+
1796
+ Rails/WhereExists:
1797
+ Enabled: 'pending'
1798
+
1799
+ Rails/WhereNot:
1800
+ Enabled: 'pending'
1801
+
1802
+ #################### RSpec ###############################
1803
+ RSpec:
1804
+ Include:
1805
+ - "**/*_spec.rb"
1806
+ - "**/spec/**/*"
1807
+ Language:
1808
+ ExampleGroups:
1809
+ Regular:
1810
+ - describe
1811
+ - context
1812
+ - feature
1813
+ - example_group
1814
+ Skipped:
1815
+ - xdescribe
1816
+ - xcontext
1817
+ - xfeature
1818
+ Focused:
1819
+ - fdescribe
1820
+ - fcontext
1821
+ - ffeature
1822
+ Examples:
1823
+ Regular:
1824
+ - it
1825
+ - specify
1826
+ - example
1827
+ - scenario
1828
+ - its
1829
+ Focused:
1830
+ - fit
1831
+ - fspecify
1832
+ - fexample
1833
+ - fscenario
1834
+ - focus
1835
+ Skipped:
1836
+ - xit
1837
+ - xspecify
1838
+ - xexample
1839
+ - xscenario
1840
+ - skip
1841
+ Pending:
1842
+ - pending
1843
+ Expectations:
1844
+ - expect
1845
+ - is_expected
1846
+ - expect_any_instance_of
1847
+ Helpers:
1848
+ - let
1849
+ - let!
1850
+ Hooks:
1851
+ - prepend_before
1852
+ - before
1853
+ - append_before
1854
+ - around
1855
+ - prepend_after
1856
+ - after
1857
+ - append_after
1858
+ HookScopes:
1859
+ - each
1860
+ - example
1861
+ - context
1862
+ - all
1863
+ - suite
1864
+ Includes:
1865
+ Examples:
1866
+ - it_behaves_like
1867
+ - it_should_behave_like
1868
+ - include_examples
1869
+ Context:
1870
+ - include_context
1871
+ Runners:
1872
+ - to
1873
+ - to_not
1874
+ - not_to
1875
+ SharedGroups:
1876
+ Examples:
1877
+ - shared_examples
1878
+ - shared_examples_for
1879
+ Context:
1880
+ - shared_context
1881
+ Subjects:
1882
+ - subject
1883
+ - subject!
1884
+
1885
+ RSpec/AlignLeftLetBrace:
1886
+ Enabled: false
1887
+
1888
+ RSpec/AlignRightLetBrace:
1889
+ Enabled: false
1890
+
1891
+ RSpec/AnyInstance:
1892
+ Enabled: false
1893
+
1894
+ RSpec/AroundBlock:
1895
+ Enabled: true
1896
+
1897
+ RSpec/Be:
1898
+ Enabled: true
1899
+
1900
+ RSpec/BeEql:
1901
+ Enabled: true
1902
+
1903
+ RSpec/BeforeAfterAll:
1904
+ Enabled: true
1905
+
1906
+ RSpec/ContextMethod:
1907
+ Enabled: true
1908
+
1909
+ RSpec/ContextWording:
1910
+ Enabled: true
1911
+
1912
+ RSpec/DescribeClass:
1913
+ Enabled: true
1914
+ Exclude:
1915
+ - spec/lib/tasks/deployment/**/*
1916
+
1917
+ RSpec/DescribeMethod:
1918
+ Enabled: true
1919
+
1920
+ RSpec/DescribeSymbol:
1921
+ Enabled: true
1922
+
1923
+ RSpec/DescribedClass:
1924
+ Enabled: true
1925
+ EnforcedStyle: explicit
1926
+ Exclude:
1927
+ - spec/lib/tasks/deployment/**/*
1928
+
1929
+ RSpec/DescribedClassModuleWrapping:
1930
+ Enabled: false
1931
+
1932
+ RSpec/Dialect:
1933
+ Enabled: false
1934
+
1935
+ RSpec/EmptyExampleGroup:
1936
+ Enabled: false
1937
+
1938
+ RSpec/EmptyHook:
1939
+ Enabled: true
1940
+
1941
+ RSpec/EmptyLineAfterExample:
1942
+ Enabled: true
1943
+
1944
+ RSpec/EmptyLineAfterExampleGroup:
1945
+ Enabled: true
1946
+
1947
+ RSpec/EmptyLineAfterFinalLet:
1948
+ Enabled: true
1949
+
1950
+ RSpec/EmptyLineAfterHook:
1951
+ Enabled: true
1952
+
1953
+ RSpec/EmptyLineAfterSubject:
1954
+ Enabled: true
1955
+
1956
+ RSpec/ExampleLength:
1957
+ Enabled: false
1958
+
1959
+ RSpec/ExampleWithoutDescription:
1960
+ Enabled: true
1961
+
1962
+ RSpec/ExampleWording:
1963
+ Enabled: true
1964
+
1965
+ RSpec/ExpectActual:
1966
+ Enabled: true
1967
+
1968
+ RSpec/ExpectChange:
1969
+ Enabled: true
1970
+
1971
+ RSpec/ExpectInHook:
1972
+ Enabled: true
1973
+
1974
+ RSpec/ExpectOutput:
1975
+ Enabled: true
1976
+
1977
+ RSpec/FilePath:
1978
+ Enabled: true
1979
+
1980
+ RSpec/Focus:
1981
+ Enabled: true
1982
+
1983
+ RSpec/HookArgument:
1984
+ Enabled: true
1985
+ EnforcedStyle: each
1986
+
1987
+ RSpec/HooksBeforeExamples:
1988
+ Enabled: true
1989
+
1990
+ RSpec/ImplicitBlockExpectation:
1991
+ Enabled: true
1992
+
1993
+ RSpec/ImplicitExpect:
1994
+ Enabled: true
1995
+
1996
+ RSpec/ImplicitSubject:
1997
+ Enabled: true
1998
+
1999
+ RSpec/InstanceSpy:
2000
+ Enabled: true
2001
+
2002
+ RSpec/InstanceVariable:
2003
+ Enabled: true
2004
+
2005
+ RSpec/ItBehavesLike:
2006
+ Enabled: true
2007
+
2008
+ RSpec/IteratedExpectation:
2009
+ Enabled: true
2010
+
2011
+ RSpec/LeadingSubject:
2012
+ Enabled: true
2013
+ Exclude:
2014
+ - spec/support/pundit.rb
2015
+
2016
+ RSpec/LeakyConstantDeclaration:
2017
+ Enabled: true
2018
+
2019
+ RSpec/LetBeforeExamples:
2020
+ Enabled: true
2021
+
2022
+ RSpec/LetSetup:
2023
+ Enabled: false
2024
+
2025
+ RSpec/MessageChain:
2026
+ Enabled: true
2027
+
2028
+ RSpec/MessageExpectation:
2029
+ Enabled: false
2030
+
2031
+ RSpec/MessageSpies:
2032
+ Enabled: true
2033
+
2034
+ RSpec/MissingExampleGroupArgument:
2035
+ Enabled: true
2036
+
2037
+ RSpec/MultipleDescribes:
2038
+ Enabled: true
2039
+
2040
+ RSpec/MultipleExpectations:
2041
+ Enabled: false
2042
+
2043
+ RSpec/MultipleMemoizedHelpers:
2044
+ Enabled: false
2045
+
2046
+ RSpec/MultipleSubjects:
2047
+ Enabled: true
2048
+
2049
+ RSpec/NamedSubject:
2050
+ Enabled: true
2051
+
2052
+ RSpec/NestedGroups:
2053
+ Enabled: false
2054
+
2055
+ RSpec/NotToNot:
2056
+ Enabled: true
2057
+ EnforcedStyle: to_not
2058
+
2059
+ RSpec/OverwritingSetup:
2060
+ Enabled: true
2061
+
2062
+ RSpec/Pending:
2063
+ Enabled: false
2064
+
2065
+ RSpec/PredicateMatcher:
2066
+ Enabled: true
2067
+
2068
+ RSpec/ReceiveCounts:
2069
+ Enabled: true
2070
+
2071
+ RSpec/ReceiveNever:
2072
+ Enabled: true
2073
+
2074
+ RSpec/RepeatedDescription:
2075
+ Enabled: false
2076
+
2077
+ RSpec/RepeatedExample:
2078
+ Enabled: true
2079
+
2080
+ RSpec/RepeatedExampleGroupBody:
2081
+ Enabled: true
2082
+
2083
+ RSpec/RepeatedExampleGroupDescription:
2084
+ Enabled: true
2085
+
2086
+ RSpec/RepeatedIncludeExample:
2087
+ Enabled: true
2088
+
2089
+ RSpec/ReturnFromStub:
2090
+ Enabled: true
2091
+
2092
+ RSpec/ScatteredLet:
2093
+ Enabled: true
2094
+
2095
+ RSpec/ScatteredSetup:
2096
+ Enabled: true
2097
+
2098
+ RSpec/SharedContext:
2099
+ Enabled: true
2100
+
2101
+ RSpec/SharedExamples:
2102
+ Enabled: true
2103
+
2104
+ RSpec/SingleArgumentMessageChain:
2105
+ Enabled: true
2106
+
2107
+ RSpec/StubbedMock:
2108
+ Enabled: true
2109
+
2110
+ RSpec/SubjectStub:
2111
+ Enabled: true
2112
+
2113
+ RSpec/UnspecifiedException:
2114
+ Enabled: true
2115
+
2116
+ RSpec/VariableDefinition:
2117
+ Enabled: true
2118
+
2119
+ RSpec/VariableName:
2120
+ Enabled: true
2121
+
2122
+ RSpec/VerifiedDoubles:
2123
+ Enabled: true
2124
+
2125
+ RSpec/VoidExpect:
2126
+ Enabled: true
2127
+
2128
+ RSpec/Yield:
2129
+ Enabled: true
2130
+
2131
+ RSpec/Capybara/CurrentPathExpectation:
2132
+ Enabled: true
2133
+
2134
+ RSpec/Capybara/FeatureMethods:
2135
+ Enabled: true
2136
+
2137
+ RSpec/Capybara/VisibilityMatcher:
2138
+ Enabled: true
2139
+
2140
+ RSpec/FactoryBot/AttributeDefinedStatically:
2141
+ Enabled: true
2142
+
2143
+ RSpec/FactoryBot/CreateList:
2144
+ Enabled: true
2145
+
2146
+ RSpec/FactoryBot/FactoryClassName:
2147
+ Enabled: true
2148
+
2149
+ RSpec/Rails/HttpStatus:
2150
+ Enabled: true