Skip to content

Commit 6d4a03d

Browse files
bnoordhuisrvagg
authored andcommitted
tools: list missing whitespace/if-one-line cpplint
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 <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent b08126d commit 6d4a03d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/cpplint.py

+1
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,7 @@
199199
'whitespace/comments',
200200
'whitespace/end_of_line',
201201
'whitespace/ending_newline',
202+
'whitespace/if-one-line',
202203
'whitespace/indent',
203204
'whitespace/labels',
204205
'whitespace/line_length',

0 commit comments

Comments
 (0)