Skip to content

Commit df8f919

Browse files
committed
Updates Rubocop to 1.72
1 parent ee40a67 commit df8f919

File tree

4 files changed

+35
-13
lines changed

4 files changed

+35
-13
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## Unreleased
4+
5+
* Updates rubocop to [1.72.0](https://github.com/rubocop/rubocop/tree/v1.72.0)
6+
37
## 1.45.0
48

59
* Updates rubocop to [1.71.0](https://github.com/rubocop/rubocop/tree/v1.71.0)

Gemfile.lock

+15-12
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ PATH
44
standard (1.45.0)
55
language_server-protocol (~> 3.17.0.2)
66
lint_roller (~> 1.0)
7-
rubocop (~> 1.71.0)
7+
rubocop (~> 1.72.0)
88
standard-custom (~> 1.0.0)
99
standard-performance (~> 1.6)
1010

@@ -13,8 +13,8 @@ GEM
1313
specs:
1414
ast (2.4.2)
1515
docile (1.4.0)
16-
json (2.6.3)
17-
language_server-protocol (3.17.0.3)
16+
json (2.10.1)
17+
language_server-protocol (3.17.0.4)
1818
lint_roller (1.1.0)
1919
logger (1.6.0)
2020
m (1.6.2)
@@ -23,28 +23,29 @@ GEM
2323
method_source (1.0.0)
2424
minitest (5.25.1)
2525
mutex_m (0.2.0)
26-
parallel (1.23.0)
27-
parser (3.3.6.0)
26+
parallel (1.26.3)
27+
parser (3.3.7.1)
2828
ast (~> 2.4.1)
2929
racc
3030
prism (0.30.0)
31-
racc (1.7.1)
31+
racc (1.8.1)
3232
rainbow (3.1.1)
3333
rake (13.0.6)
3434
rbs (3.5.2)
3535
logger
36-
regexp_parser (2.9.3)
37-
rubocop (1.71.0)
36+
regexp_parser (2.10.0)
37+
rubocop (1.72.2)
3838
json (~> 2.3)
39-
language_server-protocol (>= 3.17.0)
39+
language_server-protocol (~> 3.17.0.2)
40+
lint_roller (~> 1.1.0)
4041
parallel (~> 1.10)
4142
parser (>= 3.3.0.2)
4243
rainbow (>= 2.2.2, < 4.0)
4344
regexp_parser (>= 2.9.3, < 3.0)
44-
rubocop-ast (>= 1.36.2, < 2.0)
45+
rubocop-ast (>= 1.38.0, < 2.0)
4546
ruby-progressbar (~> 1.7)
4647
unicode-display_width (>= 2.4.0, < 4.0)
47-
rubocop-ast (1.36.2)
48+
rubocop-ast (1.38.1)
4849
parser (>= 3.3.1.0)
4950
rubocop-performance (1.23.0)
5051
rubocop (>= 1.48.1, < 2.0)
@@ -68,7 +69,9 @@ GEM
6869
standard-performance (1.6.0)
6970
lint_roller (~> 1.1)
7071
rubocop-performance (~> 1.23.0)
71-
unicode-display_width (2.5.0)
72+
unicode-display_width (3.1.4)
73+
unicode-emoji (~> 4.0, >= 4.0.4)
74+
unicode-emoji (4.0.4)
7275

7376
PLATFORMS
7477
ruby

config/base.yml

+15
Original file line numberDiff line numberDiff line change
@@ -474,6 +474,9 @@ Lint/ConstantReassignment:
474474
Lint/ConstantResolution:
475475
Enabled: false
476476

477+
Lint/CopDirectiveSyntax:
478+
Enabled: false
479+
477480
Lint/Debugger:
478481
Enabled: true
479482

@@ -714,6 +717,9 @@ Lint/RedundantSplatExpansion:
714717
Lint/RedundantStringCoercion:
715718
Enabled: true
716719

720+
Lint/RedundantTypeConversion:
721+
Enabled: true
722+
717723
Lint/RedundantWithIndex:
718724
Enabled: true
719725

@@ -793,6 +799,9 @@ Lint/StructNewOverride:
793799
Lint/SuppressedException:
794800
Enabled: false
795801

802+
Lint/SuppressedExceptionInNumberConversion:
803+
Enabled: false
804+
796805
Lint/SymbolConversion:
797806
Enabled: true
798807

@@ -853,6 +862,9 @@ Lint/UselessAccessModifier:
853862
Lint/UselessAssignment:
854863
Enabled: true
855864

865+
Lint/UselessConstantScoping:
866+
Enabled: false
867+
856868
Lint/UselessDefined:
857869
Enabled: true
858870

@@ -1620,6 +1632,9 @@ Style/RedundantFileExtensionInRequire:
16201632
Style/RedundantFilterChain:
16211633
Enabled: false
16221634

1635+
Style/RedundantFormat:
1636+
Enabled: true
1637+
16231638
Style/RedundantFreeze:
16241639
Enabled: true
16251640

standard.gemspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
2121
spec.require_paths = ["lib"]
2222
spec.metadata["rubygems_mfa_required"] = "true"
2323

24-
spec.add_dependency "rubocop", "~> 1.71.0"
24+
spec.add_dependency "rubocop", "~> 1.72.0"
2525

2626
spec.add_dependency "lint_roller", "~> 1.0"
2727
spec.add_dependency "standard-custom", "~> 1.0.0"

0 commit comments

Comments
 (0)