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

Suppress compliancy warning of ruby parser while requiring #423

Merged
merged 2 commits into from
Jul 15, 2023
Merged

Suppress compliancy warning of ruby parser while requiring #423

merged 2 commits into from
Jul 15, 2023

Conversation

ItsEcholot
Copy link
Contributor

This fixes the following warning when running haml-lint:

warning: parser/current is loading parser/ruby31, which recognizes 3.1.3-compliant syntax, but you are running 3.1.2.
Please see https://github.com/whitequark/parser#compatibility-with-ruby-mri.

The approach has been copied from the rubocop gem (marcandre/rubocop-ast@7081f7c).

@sds sds merged commit cf212dc into sds:main Jul 15, 2023
37 checks passed
@sds
Copy link
Owner

sds commented Jul 15, 2023

Thanks!

@ItsEcholot ItsEcholot deleted the bugfix/suppress-parser-current-warning branch July 15, 2023 19:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants