Skip to content

Commit d082a51

Browse files
authored
Merge pull request #693 from standardrb/updates-2025-02-11
Updates Rubocop to 1.71
2 parents ab2ee33 + f84a3d9 commit d082a51

File tree

5 files changed

+17
-3
lines changed

5 files changed

+17
-3
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

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

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

Gemfile.lock

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ PATH
44
standard (1.44.0)
55
language_server-protocol (~> 3.17.0.2)
66
lint_roller (~> 1.0)
7-
rubocop (~> 1.70.0)
7+
rubocop (~> 1.71.0)
88
standard-custom (~> 1.0.0)
99
standard-performance (~> 1.6)
1010

@@ -34,7 +34,7 @@ GEM
3434
rbs (3.5.2)
3535
logger
3636
regexp_parser (2.9.3)
37-
rubocop (1.70.0)
37+
rubocop (1.71.0)
3838
json (~> 2.3)
3939
language_server-protocol (>= 3.17.0)
4040
parallel (~> 1.10)

config/base.yml

+7
Original file line numberDiff line numberDiff line change
@@ -439,6 +439,10 @@ Lint/AmbiguousRange:
439439
Lint/AmbiguousRegexpLiteral:
440440
Enabled: true
441441

442+
Lint/ArrayLiteralInRegexp:
443+
Enabled: true
444+
AutoCorrect: false
445+
442446
Lint/AssignmentInCondition:
443447
Enabled: true
444448
AllowSafeAssignment: true
@@ -1279,6 +1283,9 @@ Style/HashExcept:
12791283
Style/HashLikeCase:
12801284
Enabled: false
12811285

1286+
Style/HashSlice:
1287+
Enabled: true
1288+
12821289
Style/HashSyntax:
12831290
Enabled: true
12841291
EnforcedStyle: ruby19_no_mixed_keys

config/ruby-2.4.yml

+3
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,6 @@ AllCops:
55

66
Style/RedundantBegin:
77
Enabled: false
8+
9+
Style/HashSlice:
10+
Enabled: false

standard.gemspec

+1-1
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.70.0"
24+
spec.add_dependency "rubocop", "~> 1.71.0"
2525

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

0 commit comments

Comments
 (0)