styleguide icon indicating copy to clipboard operation
styleguide copied to clipboard

File specific NOLINT definition in cpplint

Open GoogleCodeExporter opened this issue 10 years ago • 3 comments

Currently cpplint messages can be suppressed in the source code with NOLINT() 
definition. The definition affects only to the single line. In some cases it 
would be useful to suppress messages in multiple lines with single definition 
(e.g., NOLINTFILE() in the beginning of the file).


Original issue reported on code.google.com by [email protected] on 1 Oct 2014 at 12:17

GoogleCodeExporter avatar May 20 '15 19:05 GoogleCodeExporter

I agree, this is a real sucky feature, Google. Especially when I want to suppress all of the stupid tab/space garblefunk

h3rb avatar Dec 21 '17 14:12 h3rb

Is there NOLINT for a section? i.e. // NOLINTBEGIN ... entire section with no lint... // NOLINTEND

This may be better than NOLINTFILE

akovachev avatar May 09 '18 09:05 akovachev

Any update?

lackhole avatar May 18 '21 06:05 lackhole