-
Notifications
You must be signed in to change notification settings - Fork 30
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
[Feature Request] disable checks per line with comments #80
Comments
This request is open for quite some time and since our evaluation also pointed in the same direction that there is not such possibility, I would like to draw some attention to it. Any chance that this may be possible in the near future? |
lrstewart
added a commit
to lrstewart/s2n
that referenced
this issue
Feb 11, 2022
I think this is a bug in kwstyle. The original code produces errors like "error: function (() doesn't match regular expression: [A-Za-z=_+]". There's apparently no way to suppress kwstyle for single lines: Kitware/KWStyle#80
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I didn't see any reference to this feature in the documentation, so forgive me if it already exists.
Most linters allow disableing of rules per line with something like:
// kwstyle-disable-NameOfClass
// kwstyle-enable-NameOfClass
This would avoid the need to ignore a file completely if there is one exception to the rules within the file.
If this feature already exists we should put it in the documentation.
The text was updated successfully, but these errors were encountered: