tools: add .mjs linting for Windows

PR-URL: https://github.com/nodejs/node/pull/18569
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
This commit is contained in:
Vse Mozhet Byt 2018-02-04 23:58:21 +02:00
parent b0f114ddb0
commit 9974d6a84d

View File

@ -509,7 +509,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