Skip to content

Commit

Permalink
Merge pull request #2200 from ksss/rubocop-on-rbs-1-3-0
Browse files Browse the repository at this point in the history
Update rubocop-on-rbs
  • Loading branch information
soutaro authored Dec 27, 2024
2 parents 8cdb3bf + 16598ea commit 500b957
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Rubycw/Rubycw:

RBS:
Enabled: true

RBS/Layout:
Enabled: true
Exclude:
Expand All @@ -23,6 +24,7 @@ RBS/Layout:
RBS/Layout/CommentIndentation:
Exclude:
- core/string.rbs

RBS/Lint:
Enabled: true
Exclude:
Expand All @@ -32,6 +34,11 @@ RBS/Lint/TopLevelInterface:
Enabled: false
RBS/Lint/TopLevelTypeAlias:
Enabled: false
RBS/Lint/AmbiguousKeywordArgumentKey:
Exclude:
# OpenSSL::KDF.scrypt
- 'stdlib/openssl/0/openssl.rbs'

RBS/Style:
Enabled: false
Exclude:
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ GEM
unicode-display_width (>= 2.4.0, < 4.0)
rubocop-ast (1.37.0)
parser (>= 3.3.1.0)
rubocop-on-rbs (1.2.0)
rubocop-on-rbs (1.3.0)
rbs (~> 3.5)
rubocop (~> 1.61)
zlib
Expand Down
2 changes: 1 addition & 1 deletion core/gc.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -587,7 +587,7 @@ module GC

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

# <!--
# rdoc-file=gc.rb
Expand Down

0 comments on commit 500b957

Please sign in to comment.