Kitware / KWStyle

Kitware Style Checker
Other
53 stars 30 forks source link

[Feature Request] disable checks per line with comments #80

Open catskul opened 5 years ago

catskul commented 5 years ago

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.

b-morgenthaler commented 4 years ago

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?