mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
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:
parent
b0f114ddb0
commit
9974d6a84d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user