mirror of
https://github.com/nodejs/node.git
synced 2025-08-15 13:48:44 +02:00
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: https://github.com/nodejs/node/pull/4099 Reviewed-By: Fedor Indutny <fedor@indutny.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
parent
b47d82316c
commit
813e73e1f5
1 changed files with 1 additions and 0 deletions
1
tools/cpplint.py
vendored
1
tools/cpplint.py
vendored
|
@ -199,6 +199,7 @@ _ERROR_CATEGORIES = [
|
|||
'whitespace/comments',
|
||||
'whitespace/end_of_line',
|
||||
'whitespace/ending_newline',
|
||||
'whitespace/if-one-line',
|
||||
'whitespace/indent',
|
||||
'whitespace/labels',
|
||||
'whitespace/line_length',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue