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

Executable outputs warnnings #356

Open
smarquez1 opened this issue Jun 24, 2024 · 1 comment
Open

Executable outputs warnnings #356

smarquez1 opened this issue Jun 24, 2024 · 1 comment

Comments

@smarquez1
Copy link

Running erblint --format I'm getting warnings that make my editor (neovim / none-ls) fail to read the outputted diagnostics.

This might be something that needs to be addressed by my editor plugin, but I just wanted to raise the issue

warning: parser/current is loading parser/ruby33, which recognizes 3.3.3-compliant syntax, but you are running 3.3.0.
Please see https://github.com/whitequark/parser#compatibility-with-ruby-mri.
{"metadata":{"erb_lint_version":"0.5.0","ruby_engine":"ruby","ruby_version":"3.3.0","ruby_patchlevel":"0","ruby_...
@thomaswitt
Copy link

thomaswitt commented Jan 9, 2025

I have the same problem. This makes erb_lint unusable as a linter inside neovim as this is not parsable by the Autocorrector. There needs to be a config.yaml option to suppress these warnings. This will now be a more widespread problem as Ruby 3.4 is officially released. I know that whitequark produces this error, but erb_lint should suppress it via a config option.

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

No branches or pull requests

2 participants