-
Notifications
You must be signed in to change notification settings - Fork 0
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
Ability to ignore warnings #76
Comments
Looks like
|
The language server reports a range of code test results. Some are pretty critical (errors / deprecations) but some are a bit my stylistic (eg. unused variables needing a leading underscore).
It would be good if the more opinionated / less critical could be selectively ignored by using inline comments.
In the Python world this is typically done using
# noqa
comments - see the Flake8 docs. A specific error code can also be specified to ignore only that one. The exception typically only applies for the single line of code.In Nextflow we could apply a similar
// noqa
comment to ignore a linting warning.The text was updated successfully, but these errors were encountered: