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

Remove deprecated lib/prism/translation/parser/rubocop.rb file #3023

Merged
merged 1 commit into from
Aug 29, 2024

Conversation

koic
Copy link
Contributor

@koic koic commented Aug 29, 2024

Follow up #2558.

This PR removes deprecated lib/prism/translation/parser/rubocop.rb file.

The file was a workaround to allow setting TargetRubyVersion: 80_82_73_83_77.xx until Prism (Prism::Translation::Parser) is integrated into RuboCop. RuboCop already supports Prism (Prism::Translation::Parser) as of rubocop/rubocop#12724.

It has been several months since the file was deprecated in #2558. And, yesterday, Prism 1.0.0 was released, but perhaps the file should have been removed before then.

Although this might be seen as incompatible with semver 1.0.0, I think there is no longer a reason to keep the file.

Follow up ruby#2558.

This PR removes deprecated lib/prism/translation/parser/rubocop.rb file.

The file was a workaround to allow setting `TargetRubyVersion: 80_82_73_83_77.xx` until Prism (`Prism::Translation::Parser`) is integrated into RuboCop.
RuboCop already supports Prism (`Prism::Translation::Parser`) as of rubocop/rubocop#12724.

It has been several months since the file was deprecated in ruby#2558.
And, yesterday, Prism 1.0.0 was released, but perhaps the file should have been removed before then.

Although this might be seen as incompatible with semver 1.0.0, I think there is no longer a reason to keep the file.
Copy link
Collaborator

@kddnewton kddnewton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works for me!

@kddnewton kddnewton merged commit acc0b79 into ruby:main Aug 29, 2024
56 checks passed
@koic koic deleted the remove_deprecated_rubocop_file branch August 29, 2024 21:13
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