Skip to content

Commit 301a26f

Browse files
committed
update bundle
1 parent aa1cd1b commit 301a26f

File tree

2 files changed

+105
-22
lines changed

2 files changed

+105
-22
lines changed

.rubocop.yml

Lines changed: 76 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22

3-
require:
3+
plugins:
44
- rubocop-minitest
55
- rubocop-rake
66

@@ -46,6 +46,9 @@ Lint/AmbiguousOperatorPrecedence:
4646
Lint/AmbiguousRange:
4747
Enabled: true
4848

49+
Lint/ArrayLiteralInRegexp:
50+
Enabled: true
51+
4952
Lint/BinaryOperatorWithIdenticalOperands:
5053
Enabled: true
5154

@@ -55,6 +58,12 @@ Lint/ConstantDefinitionInBlock:
5558
Lint/ConstantOverwrittenInRescue:
5659
Enabled: true
5760

61+
Lint/ConstantReassignment:
62+
Enabled: true
63+
64+
Lint/CopDirectiveSyntax:
65+
Enabled: true
66+
5867
Lint/DeprecatedConstants:
5968
Enabled: true
6069

@@ -103,6 +112,9 @@ Lint/EmptyInPattern:
103112
Lint/FloatComparison:
104113
Enabled: true
105114

115+
Lint/HashNewWithKeywordArgumentsAsDefault:
116+
Enabled: true
117+
106118
Lint/IdentityComparison:
107119
Enabled: true
108120

@@ -136,6 +148,9 @@ Lint/NonAtomicFileOperation:
136148
Lint/NumberedParameterAssignment:
137149
Enabled: true
138150

151+
Lint/NumericOperationWithConstantResult:
152+
Enabled: true
153+
139154
Lint/OrAssignmentToConstant:
140155
Enabled: true
141156

@@ -151,6 +166,9 @@ Lint/RedundantDirGlobSort:
151166
Lint/RedundantRegexpQuantifiers:
152167
Enabled: true
153168

169+
Lint/RedundantTypeConversion:
170+
Enabled: true
171+
154172
Lint/RefinementImportMethods:
155173
Enabled: true
156174

@@ -163,9 +181,15 @@ Lint/RequireRelativeSelfPath:
163181
Lint/SelfAssignment:
164182
Enabled: true
165183

184+
Lint/SharedMutableDefault:
185+
Enabled: true
186+
166187
Lint/StructNewOverride:
167188
Enabled: true
168189

190+
Lint/SuppressedExceptionInNumberConversion:
191+
Enabled: true
192+
169193
Lint/SymbolConversion:
170194
Enabled: true
171195

@@ -181,6 +205,9 @@ Lint/TrailingCommaInAttributeDeclaration:
181205
Lint/TripleQuotes:
182206
Enabled: true
183207

208+
Lint/UnescapedBracketInRegexp:
209+
Enabled: true
210+
184211
Lint/UnexpectedBlockArity:
185212
Enabled: true
186213

@@ -190,6 +217,12 @@ Lint/UnmodifiedReduceAccumulator:
190217
Lint/UnreachableLoop:
191218
Enabled: true
192219

220+
Lint/UselessConstantScoping:
221+
Enabled: true
222+
223+
Lint/UselessDefined:
224+
Enabled: true
225+
193226
Lint/UselessMethodDefinition:
194227
Enabled: true
195228

@@ -326,6 +359,9 @@ Security/IoMethods:
326359
Style/AccessorGrouping:
327360
Enabled: true
328361

362+
Style/AmbiguousEndlessMethodDefinition:
363+
Enabled: true
364+
329365
Style/ArgumentsForwarding:
330366
Enabled: true
331367

@@ -338,15 +374,24 @@ Style/ArrayIntersect:
338374
Style/BisectedAttrAccessor:
339375
Enabled: true
340376

377+
Style/BitwisePredicate:
378+
Enabled: true
379+
341380
Style/CaseLikeIf:
342381
Enabled: true
343382

344383
Style/CollectionCompact:
345384
Enabled: true
346385

386+
Style/CombinableDefined:
387+
Enabled: true
388+
347389
Style/CombinableLoops:
348390
Enabled: true
349391

392+
Style/ComparableBetween:
393+
Enabled: true
394+
350395
Style/ComparableClamp:
351396
Enabled: true
352397

@@ -356,6 +401,9 @@ Style/ConcatArrayLiterals:
356401
Style/DataInheritance:
357402
Enabled: true
358403

404+
Style/DigChain:
405+
Enabled: true
406+
359407
Style/DirEmpty:
360408
Enabled: true
361409

@@ -386,9 +434,15 @@ Style/FetchEnvVar:
386434
Style/FileEmpty:
387435
Enabled: true
388436

437+
Style/FileNull:
438+
Enabled: true
439+
389440
Style/FileRead:
390441
Enabled: true
391442

443+
Style/FileTouch:
444+
Enabled: true
445+
392446
Style/FileWrite:
393447
Enabled: true
394448

@@ -407,9 +461,15 @@ Style/HashEachMethods:
407461
Style/HashExcept:
408462
Enabled: true
409463

464+
Style/HashFetchChain:
465+
Enabled: true
466+
410467
Style/HashLikeCase:
411468
Enabled: true
412469

470+
Style/HashSlice:
471+
Enabled: true
472+
413473
Style/HashTransformKeys:
414474
Enabled: true
415475

@@ -422,6 +482,15 @@ Style/IfWithBooleanLiteralBranches:
422482
Style/InPatternThen:
423483
Enabled: true
424484

485+
Style/ItAssignment:
486+
Enabled: true
487+
488+
Style/ItBlockParameter:
489+
Enabled: true
490+
491+
Style/KeywordArgumentsMerging:
492+
Enabled: true
493+
425494
Style/KeywordParametersOrder:
426495
Enabled: true
427496

@@ -506,6 +575,9 @@ Style/RedundantFileExtensionInRequire:
506575
Style/RedundantFilterChain:
507576
Enabled: true
508577

578+
Style/RedundantFormat:
579+
Enabled: true
580+
509581
Style/RedundantHeredocDelimiterQuotes:
510582
Enabled: true
511583

@@ -542,6 +614,9 @@ Style/RedundantStringEscape:
542614
Style/ReturnNilInPredicateMethodDefinition:
543615
Enabled: true
544616

617+
Style/SafeNavigationChainLength:
618+
Enabled: true
619+
545620
Style/SelectByRegexp:
546621
Enabled: true
547622

Gemfile.lock

Lines changed: 29 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -6,43 +6,51 @@ PATH
66
GEM
77
remote: https://rubygems.org/
88
specs:
9-
ast (2.4.2)
9+
ast (2.4.3)
1010
docile (1.4.1)
11-
json (2.7.2)
12-
language_server-protocol (3.17.0.3)
13-
minitest (5.25.1)
14-
parallel (1.26.3)
15-
parser (3.3.5.0)
11+
json (2.12.2)
12+
language_server-protocol (3.17.0.5)
13+
lint_roller (1.1.0)
14+
minitest (5.25.5)
15+
parallel (1.27.0)
16+
parser (3.3.8.0)
1617
ast (~> 2.4.1)
1718
racc
19+
prism (1.4.0)
1820
racc (1.8.1)
1921
rainbow (3.1.1)
2022
rake (13.2.1)
21-
regexp_parser (2.9.2)
22-
rubocop (1.67.0)
23+
regexp_parser (2.10.0)
24+
rubocop (1.75.7)
2325
json (~> 2.3)
24-
language_server-protocol (>= 3.17.0)
26+
language_server-protocol (~> 3.17.0.2)
27+
lint_roller (~> 1.1.0)
2528
parallel (~> 1.10)
2629
parser (>= 3.3.0.2)
2730
rainbow (>= 2.2.2, < 4.0)
28-
regexp_parser (>= 2.4, < 3.0)
29-
rubocop-ast (>= 1.32.2, < 2.0)
31+
regexp_parser (>= 2.9.3, < 3.0)
32+
rubocop-ast (>= 1.44.0, < 2.0)
3033
ruby-progressbar (~> 1.7)
31-
unicode-display_width (>= 2.4.0, < 3.0)
32-
rubocop-ast (1.32.3)
33-
parser (>= 3.3.1.0)
34-
rubocop-minitest (0.36.0)
35-
rubocop (>= 1.61, < 2.0)
36-
rubocop-ast (>= 1.31.1, < 2.0)
37-
rubocop-rake (0.6.0)
38-
rubocop (~> 1.0)
34+
unicode-display_width (>= 2.4.0, < 4.0)
35+
rubocop-ast (1.44.1)
36+
parser (>= 3.3.7.2)
37+
prism (~> 1.4)
38+
rubocop-minitest (0.38.0)
39+
lint_roller (~> 1.1)
40+
rubocop (>= 1.75.0, < 2.0)
41+
rubocop-ast (>= 1.38.0, < 2.0)
42+
rubocop-rake (0.7.1)
43+
lint_roller (~> 1.1)
44+
rubocop (>= 1.72.1)
3945
ruby-progressbar (1.13.0)
4046
simplecov (0.17.1)
4147
docile (~> 1.1)
4248
json (>= 1.8, < 3)
4349
simplecov-html (~> 0.10.0)
4450
simplecov-html (0.10.2)
45-
unicode-display_width (2.6.0)
51+
unicode-display_width (3.1.4)
52+
unicode-emoji (~> 4.0, >= 4.0.4)
53+
unicode-emoji (4.0.4)
4654

4755
PLATFORMS
4856
ruby
@@ -57,4 +65,4 @@ DEPENDENCIES
5765
simplecov (< 0.18)
5866

5967
BUNDLED WITH
60-
2.4.13
68+
2.4.22

0 commit comments

Comments
 (0)