mirror of https://github.com/nodejs/node.git
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>pull/4099/head
parent
b47d82316c
commit
813e73e1f5
|
@ -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…
Reference in New Issue