Skip to content

Commit

Permalink
tools: list missing whitespace/if-one-line cpplint
Browse files Browse the repository at this point in the history
Writing `// NOLINT(whitespace/if-one-line)` was not possible because the
directive was not listed in the list of known lint rules.  You can now.

PR-URL: #4099
Reviewed-By: Fedor Indutny <fedor@indutny.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
bnoordhuis authored and rvagg committed Dec 9, 2015
1 parent b08126d commit 6d4a03d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/cpplint.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@
'whitespace/comments',
'whitespace/end_of_line',
'whitespace/ending_newline',
'whitespace/if-one-line',
'whitespace/indent',
'whitespace/labels',
'whitespace/line_length',
Expand Down

0 comments on commit 6d4a03d

Please sign in to comment.