Skip to content

Commit

Permalink
Merge pull request #693 from standardrb/updates-2025-02-11
Browse files Browse the repository at this point in the history
Updates Rubocop to 1.71
  • Loading branch information
camilopayan authored Feb 11, 2025
2 parents ab2ee33 + f84a3d9 commit d082a51
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## Unreleased

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

## 1.44.0

* Updates rubocop to [1.70.0](https://github.com/rubocop/rubocop/tree/v1.70.0)
Expand Down
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ PATH
standard (1.44.0)
language_server-protocol (~> 3.17.0.2)
lint_roller (~> 1.0)
rubocop (~> 1.70.0)
rubocop (~> 1.71.0)
standard-custom (~> 1.0.0)
standard-performance (~> 1.6)

Expand Down Expand Up @@ -34,7 +34,7 @@ GEM
rbs (3.5.2)
logger
regexp_parser (2.9.3)
rubocop (1.70.0)
rubocop (1.71.0)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
Expand Down
7 changes: 7 additions & 0 deletions config/base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,10 @@ Lint/AmbiguousRange:
Lint/AmbiguousRegexpLiteral:
Enabled: true

Lint/ArrayLiteralInRegexp:
Enabled: true
AutoCorrect: false

Lint/AssignmentInCondition:
Enabled: true
AllowSafeAssignment: true
Expand Down Expand Up @@ -1279,6 +1283,9 @@ Style/HashExcept:
Style/HashLikeCase:
Enabled: false

Style/HashSlice:
Enabled: true

Style/HashSyntax:
Enabled: true
EnforcedStyle: ruby19_no_mixed_keys
Expand Down
3 changes: 3 additions & 0 deletions config/ruby-2.4.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,6 @@ AllCops:

Style/RedundantBegin:
Enabled: false

Style/HashSlice:
Enabled: false
2 changes: 1 addition & 1 deletion standard.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
spec.require_paths = ["lib"]
spec.metadata["rubygems_mfa_required"] = "true"

spec.add_dependency "rubocop", "~> 1.70.0"
spec.add_dependency "rubocop", "~> 1.71.0"

spec.add_dependency "lint_roller", "~> 1.0"
spec.add_dependency "standard-custom", "~> 1.0.0"
Expand Down

0 comments on commit d082a51

Please sign in to comment.