Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposal: Update rubocop and handles a new cop #656

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tk0miya
Copy link

@tk0miya tk0miya commented Oct 29, 2024

Since v1.67.0, the AllowRBSInlineAnnotation config option has been added to the Layout/LeadingCommentSpace cop.
It is necessary to annotate types in Ruby code via RBS::Inline. RBS::Inline is a pilot project of ruby/rbs and is planned to be merged into ruby/rbs.

Could you update rubocop to v1.67.0 and enable the AllowRBSInlineAnnotation option, please?

@nicowenterodt
Copy link
Contributor

nicowenterodt commented Nov 11, 2024

I also see problems with the current 1.66 Rubocop version.

This is because of the latest update of psych.

Resulting in errors like An error occurred while Layout/FirstArgumentIndentation cop was inspecting

See: rubocop/rubocop#11060 (comment)

This should be fixed when upgrading to 1.68.0 as this PR has made in to that version already: rubocop/rubocop#13379

I added a PR updating to 1.68 already: #659

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants