diff options
author | João Reis <reis@janeasystems.com> | 2016-09-26 12:54:58 +0100 |
---|---|---|
committer | James M Snell <jasnell@gmail.com> | 2016-10-07 10:56:02 -0700 |
commit | 75a970bac373358f8215cb1da1195872f00beea2 (patch) | |
tree | 4f4423fe993734f39a1a595c38130e65c66d20ca /vcbuild.bat | |
parent | ae9d146331c2bec47fe4c947fcdf4e7da39e6a9b (diff) | |
download | node-new-75a970bac373358f8215cb1da1195872f00beea2.tar.gz |
win,tools: ignore linting for line breaks
Line breaks on Windows should be CRLF, but Node also supports LF.
Hence, do not check line breaks on Windows, when running
vcbuild jslint.
Fixes: https://github.com/nodejs/node/issues/6912
PR-URL: https://github.com/nodejs/node/pull/8785
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Diffstat (limited to 'vcbuild.bat')
-rw-r--r-- | vcbuild.bat | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcbuild.bat b/vcbuild.bat index 93de090fe9..01ca4b9b3a 100644 --- a/vcbuild.bat +++ b/vcbuild.bat @@ -345,7 +345,7 @@ if defined jslint_ci goto jslint-ci if not defined jslint goto exit if not exist tools\eslint\lib\eslint.js goto no-lint echo running jslint -%config%\node tools\eslint\bin\eslint.js --cache --rulesdir=tools\eslint-rules benchmark lib test tools +%config%\node tools\eslint\bin\eslint.js --cache --rule "linebreak-style: 0" --rulesdir=tools\eslint-rules benchmark lib test tools goto exit :jslint-ci |