Skip to content

Commit 623d3c6

Browse files
joaocgreisFishrock123
authored andcommitted
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: #6912 PR-URL: #8785 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Bartosz Sosnowski <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]>
1 parent a1925a7 commit 623d3c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vcbuild.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ if defined jslint_ci goto jslint-ci
345345
if not defined jslint goto exit
346346
if not exist tools\eslint\lib\eslint.js goto no-lint
347347
echo running jslint
348-
%config%\node tools\eslint\bin\eslint.js --cache --rulesdir=tools\eslint-rules benchmark lib test tools
348+
%config%\node tools\eslint\bin\eslint.js --cache --rule "linebreak-style: 0" --rulesdir=tools\eslint-rules benchmark lib test tools
349349
goto exit
350350

351351
:jslint-ci

0 commit comments

Comments
 (0)