diff --git a/CHANGELOG.md b/CHANGELOG.md index 604ef3c7..63656bc3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/Gemfile.lock b/Gemfile.lock index fa544907..5aba3151 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -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/ @@ -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) @@ -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) @@ -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 diff --git a/config/base.yml b/config/base.yml index b1f36963..3a66e759 100644 --- a/config/base.yml +++ b/config/base.yml @@ -837,6 +837,9 @@ Lint/UselessElseWithoutRescue: Lint/UselessMethodDefinition: Enabled: false +Lint/UselessNumericOperation: + Enabled: false + Lint/UselessRescue: Enabled: true @@ -1577,6 +1580,9 @@ Style/RedundantInitialize: Style/RedundantInterpolation: Enabled: true +Style/RedundantInterpolationUnfreeze: + Enabled: true + Style/RedundantLineContinuation: Enabled: true diff --git a/config/ruby-2.7.yml b/config/ruby-2.7.yml index 29d41e11..c3855510 100644 --- a/config/ruby-2.7.yml +++ b/config/ruby-2.7.yml @@ -5,3 +5,6 @@ AllCops: Style/HashExcept: Enabled: false + +Style/RedundantInterpolationUnfreeze: + Enabled: false diff --git a/standard.gemspec b/standard.gemspec index 5da5f416..86ce6d3f 100644 --- a/standard.gemspec +++ b/standard.gemspec @@ -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"