Skip to content

Commit

Permalink
Merge pull request #653 from standardrb/updates-2024-10-08
Browse files Browse the repository at this point in the history
Updates rubocop and standard-performance, handles new cops
  • Loading branch information
camilopayan authored Oct 8, 2024
2 parents 0421e8a + 042ca2e commit 19d151f
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 14 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

## Unreleased

* Updates rubocop to [1.66.1](https://github.com/rubocop/rubocop/releases/tag/v1.66.1)
* Updates standard-performance to [1.5.0](https://github.com/standardrb/standard-performance/releases/tag/v1.5.0)

## 1.40.1

* Fix error handling in LSP Server 84ee9f4
Expand Down
22 changes: 10 additions & 12 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ PATH
standard (1.40.1)
language_server-protocol (~> 3.17.0.2)
lint_roller (~> 1.0)
rubocop (~> 1.65.0)
rubocop (~> 1.66.0)
standard-custom (~> 1.0.0)
standard-performance (~> 1.4)
standard-performance (~> 1.5)

GEM
remote: https://rubygems.org/
Expand All @@ -24,7 +24,7 @@ GEM
minitest (5.20.0)
mutex_m (0.2.0)
parallel (1.23.0)
parser (3.3.0.5)
parser (3.3.5.0)
ast (~> 2.4.1)
racc
prism (0.30.0)
Expand All @@ -34,21 +34,19 @@ GEM
rbs (3.5.2)
logger
regexp_parser (2.8.2)
rexml (3.2.6)
rubocop (1.65.1)
rubocop (1.66.1)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
parser (>= 3.3.0.2)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 2.4, < 3.0)
rexml (>= 3.2.5, < 4.0)
rubocop-ast (>= 1.31.1, < 2.0)
rubocop-ast (>= 1.32.2, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.31.2)
parser (>= 3.3.0.4)
rubocop-performance (1.21.0)
rubocop-ast (1.32.3)
parser (>= 3.3.1.0)
rubocop-performance (1.22.1)
rubocop (>= 1.48.1, < 2.0)
rubocop-ast (>= 1.31.1, < 2.0)
ruby-lsp (0.17.7)
Expand All @@ -67,9 +65,9 @@ GEM
standard-custom (1.0.2)
lint_roller (~> 1.0)
rubocop (~> 1.50)
standard-performance (1.4.0)
standard-performance (1.5.0)
lint_roller (~> 1.1)
rubocop-performance (~> 1.21.0)
rubocop-performance (~> 1.22.0)
unicode-display_width (2.5.0)

PLATFORMS
Expand Down
6 changes: 6 additions & 0 deletions config/base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -837,6 +837,9 @@ Lint/UselessElseWithoutRescue:
Lint/UselessMethodDefinition:
Enabled: false

Lint/UselessNumericOperation:
Enabled: false

Lint/UselessRescue:
Enabled: true

Expand Down Expand Up @@ -1577,6 +1580,9 @@ Style/RedundantInitialize:
Style/RedundantInterpolation:
Enabled: true

Style/RedundantInterpolationUnfreeze:
Enabled: true

Style/RedundantLineContinuation:
Enabled: true

Expand Down
3 changes: 3 additions & 0 deletions config/ruby-2.7.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,6 @@ AllCops:

Style/HashExcept:
Enabled: false

Style/RedundantInterpolationUnfreeze:
Enabled: false
4 changes: 2 additions & 2 deletions standard.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ Gem::Specification.new do |spec|
spec.require_paths = ["lib"]
spec.metadata["rubygems_mfa_required"] = "true"

spec.add_dependency "rubocop", "~> 1.65.0"
spec.add_dependency "rubocop", "~> 1.66.0"

spec.add_dependency "lint_roller", "~> 1.0"
spec.add_dependency "standard-custom", "~> 1.0.0"
spec.add_dependency "standard-performance", "~> 1.4"
spec.add_dependency "standard-performance", "~> 1.5"

# not semver: first three are lsp protocol version, last is patch
spec.add_dependency "language_server-protocol", "~> 3.17.0.2"
Expand Down

0 comments on commit 19d151f

Please sign in to comment.