Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates rubocop and standard-perf #686

Merged
merged 1 commit into from
Dec 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ PATH
standard (1.42.1)
language_server-protocol (~> 3.17.0.2)
lint_roller (~> 1.0)
rubocop (~> 1.68.0)
rubocop (~> 1.69.1)
standard-custom (~> 1.0.0)
standard-performance (~> 1.5)
standard-performance (~> 1.6)

GEM
remote: https://rubygems.org/
Expand All @@ -33,20 +33,20 @@ GEM
rake (13.0.6)
rbs (3.5.2)
logger
regexp_parser (2.8.2)
rubocop (1.68.0)
regexp_parser (2.9.3)
rubocop (1.69.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)
rubocop-ast (>= 1.32.2, < 2.0)
regexp_parser (>= 2.9.3, < 3.0)
rubocop-ast (>= 1.36.2, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.32.3)
unicode-display_width (>= 2.4.0, < 4.0)
rubocop-ast (1.36.2)
parser (>= 3.3.1.0)
rubocop-performance (1.22.1)
rubocop-performance (1.23.0)
rubocop (>= 1.48.1, < 2.0)
rubocop-ast (>= 1.31.1, < 2.0)
ruby-lsp (0.17.7)
Expand All @@ -65,9 +65,9 @@ GEM
standard-custom (1.0.2)
lint_roller (~> 1.0)
rubocop (~> 1.50)
standard-performance (1.5.0)
standard-performance (1.6.0)
lint_roller (~> 1.1)
rubocop-performance (~> 1.22.0)
rubocop-performance (~> 1.23.0)
unicode-display_width (2.5.0)

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

Lint/HashNewWithKeywordArgumentsAsDefault:
Enabled: true

Lint/HeredocMethodCallPosition:
Enabled: false

Expand Down Expand Up @@ -653,6 +656,9 @@ Lint/NumberConversion:
Lint/NumberedParameterAssignment:
Enabled: true

Lint/NumericOperationWithConstantResult:
Enabled: false

Lint/OrAssignmentToConstant:
Enabled: true

Expand Down Expand Up @@ -837,6 +843,9 @@ Lint/UselessAccessModifier:
Lint/UselessAssignment:
Enabled: true

Lint/UselessDefined:
Enabled: true

Lint/UselessElseWithoutRescue:
Enabled: false

Expand Down Expand Up @@ -1119,6 +1128,9 @@ Style/DateTime:
Style/DefWithParentheses:
Enabled: true

Style/DigChain:
Enabled: true

Style/Dir:
Enabled: true

Expand Down Expand Up @@ -1208,9 +1220,15 @@ Style/FetchEnvVar:
Style/FileEmpty:
Enabled: false

Style/FileNull:
Enabled: true

Style/FileRead:
Enabled: true

Style/FileTouch:
Enabled: false

Style/FileWrite:
Enabled: true

Expand Down
3 changes: 3 additions & 0 deletions config/ruby-1.9.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,6 @@ Style/HashConversion:
# Percent delimiters are not supported until Ruby 2.0
Style/PercentLiteralDelimiters:
Enabled: false

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

spec.add_dependency "rubocop", "~> 1.68.0"
spec.add_dependency "rubocop", "~> 1.69.1"

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

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