Skip to content

Commit 11cfdaf

Browse files
committed
Bump rubocop TargetRubyVersion
1 parent 71358ca commit 11cfdaf

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

Library/.rubocop.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,7 @@ inherit_mode:
1818
- Exclude
1919

2020
AllCops:
21-
# TODO: This is the default parser in Ruby >= 3.4
22-
# https://github.com/rubocop/rubocop-ast/blob/6b9136235219e9448ee4f369e17cf69bcd9db621/lib/rubocop/ast/processed_source.rb#L385
23-
ParserEngine: parser_prism
24-
TargetRubyVersion: 3.3
21+
TargetRubyVersion: 3.4
2522
NewCops: enable
2623
Include:
2724
- "**/*.rbi"
@@ -412,6 +409,10 @@ Style/InvertibleUnlessCondition:
412409
:zero?:
413410
:blank?: :present?
414411

412+
# Reconsider once sorbet supports "it": https://github.com/sorbet/sorbet/issues/8375
413+
Style/ItBlockParameter:
414+
Enabled: false
415+
415416
Style/MutableConstant:
416417
# would rather freeze too much than too little
417418
EnforcedStyle: strict

0 commit comments

Comments
 (0)