Skip to content

Commit 77d812e

Browse files
committed
Updates Rubocop to 1.73.2
1 parent ee40a67 commit 77d812e

File tree

5 files changed

+30
-6
lines changed

5 files changed

+30
-6
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

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

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

Gemfile.lock

Lines changed: 6 additions & 5 deletions
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.73.0)
88
standard-custom (~> 1.0.0)
99
standard-performance (~> 1.6)
1010

@@ -34,17 +34,18 @@ GEM
3434
rbs (3.5.2)
3535
logger
3636
regexp_parser (2.9.3)
37-
rubocop (1.71.0)
37+
rubocop (1.73.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)

config/base.yml

Lines changed: 16 additions & 0 deletions
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: true
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,10 @@ Lint/StructNewOverride:
793799
Lint/SuppressedException:
794800
Enabled: false
795801

802+
Lint/SuppressedExceptionInNumberConversion:
803+
Enabled: true
804+
AutoCorrect: false
805+
796806
Lint/SymbolConversion:
797807
Enabled: true
798808

@@ -853,6 +863,9 @@ Lint/UselessAccessModifier:
853863
Lint/UselessAssignment:
854864
Enabled: true
855865

866+
Lint/UselessConstantScoping:
867+
Enabled: true
868+
856869
Lint/UselessDefined:
857870
Enabled: true
858871

@@ -1620,6 +1633,9 @@ Style/RedundantFileExtensionInRequire:
16201633
Style/RedundantFilterChain:
16211634
Enabled: false
16221635

1636+
Style/RedundantFormat:
1637+
Enabled: true
1638+
16231639
Style/RedundantFreeze:
16241640
Enabled: true
16251641

config/ruby-2.5.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,6 @@ AllCops:
55

66
Style/SlicingWithRange:
77
Enabled: false
8+
9+
Lint/SuppressedExceptionInNumberConversion:
10+
Enabled: false

standard.gemspec

Lines changed: 1 addition & 1 deletion
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.73.0"
2525

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

0 commit comments

Comments
 (0)