We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This works
lintr::lint( text = "x = 1", linters = lintr::assignment_linter(), exclude = "(?:a)|(?:b)" )
But this
lintr::lint( text = "x = 1", linters = lintr::assignment_linter(), exclude = "(a)|(b)" )
raises an error that I think most users will not understand:
Error in `[.data.frame`(re_matches(lines, exclude, locations = TRUE), : undefined columns selected
The text was updated successfully, but these errors were encountered:
Thanks for raising this. When fixing, we could also apply regex validation to other settings (nolint directives, for example).
Sorry, something went wrong.
No branches or pull requests
This works
But this
raises an error that I think most users will not understand:
The text was updated successfully, but these errors were encountered: