Skip to content

Commit 500b957

Browse files
authored
Merge pull request #2200 from ksss/rubocop-on-rbs-1-3-0
Update rubocop-on-rbs
2 parents 8cdb3bf + 16598ea commit 500b957

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

.rubocop.yml

+7
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Rubycw/Rubycw:
1515

1616
RBS:
1717
Enabled: true
18+
1819
RBS/Layout:
1920
Enabled: true
2021
Exclude:
@@ -23,6 +24,7 @@ RBS/Layout:
2324
RBS/Layout/CommentIndentation:
2425
Exclude:
2526
- core/string.rbs
27+
2628
RBS/Lint:
2729
Enabled: true
2830
Exclude:
@@ -32,6 +34,11 @@ RBS/Lint/TopLevelInterface:
3234
Enabled: false
3335
RBS/Lint/TopLevelTypeAlias:
3436
Enabled: false
37+
RBS/Lint/AmbiguousKeywordArgumentKey:
38+
Exclude:
39+
# OpenSSL::KDF.scrypt
40+
- 'stdlib/openssl/0/openssl.rbs'
41+
3542
RBS/Style:
3643
Enabled: false
3744
Exclude:

Gemfile.lock

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ GEM
113113
unicode-display_width (>= 2.4.0, < 4.0)
114114
rubocop-ast (1.37.0)
115115
parser (>= 3.3.1.0)
116-
rubocop-on-rbs (1.2.0)
116+
rubocop-on-rbs (1.3.0)
117117
rbs (~> 3.5)
118118
rubocop (~> 1.61)
119119
zlib

core/gc.rbs

+1-1
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,7 @@ module GC
587587

588588
# The type that `GC.compact` and related functions can return.
589589
#
590-
type compact_info = Hash[:considered | :moved |:moved_up | :moved_down, Hash[Symbol, Integer]]
590+
type compact_info = Hash[:considered | :moved | :moved_up | :moved_down, Hash[Symbol, Integer]]
591591

592592
# <!--
593593
# rdoc-file=gc.rb

0 commit comments

Comments
 (0)