Skip to content

Commit

Permalink
tools: add .mjs linting for Windows
Browse files Browse the repository at this point in the history
PR-URL: #18569
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Tiancheng "Timothy" Gu <[email protected]>
Reviewed-By: Anatoli Papirovski <[email protected]>
  • Loading branch information
vsemozhetbyt authored and MylesBorins committed Feb 21, 2018
1 parent 64c36d3 commit aabbdc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vcbuild.bat
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@ if defined lint_js_ci goto lint-js-ci
if not defined lint_js goto exit
if not exist tools\node_modules\eslint goto no-lint
echo running lint-js
%config%\node tools\node_modules\eslint\bin\eslint.js --cache --rule "linebreak-style: 0" --rulesdir=tools\eslint-rules --ext=.js,.md benchmark doc lib test tools
%config%\node tools\node_modules\eslint\bin\eslint.js --cache --rule "linebreak-style: 0" --rulesdir=tools\eslint-rules --ext=.js,.mjs,.md benchmark doc lib test tools
goto exit

:lint-js-ci
Expand Down

0 comments on commit aabbdc8

Please sign in to comment.