diff options
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | vcbuild.bat | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -1101,7 +1101,7 @@ lint-md: @echo "To install (requires internet access) run: $ make lint-md-build" endif -LINT_JS_TARGETS = benchmark doc lib test tools +LINT_JS_TARGETS = .eslintrc.js benchmark doc lib test tools run-lint-js = tools/node_modules/eslint/bin/eslint.js --cache \ --ext=.js,.mjs,.md $(LINT_JS_TARGETS) --ignore-pattern '!.eslintrc.js' diff --git a/vcbuild.bat b/vcbuild.bat index a664492831..b3ec5aee96 100644 --- a/vcbuild.bat +++ b/vcbuild.bat @@ -514,7 +514,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" --ext=.js,.mjs,.md benchmark doc lib test tools +%config%\node tools\node_modules\eslint\bin\eslint.js --cache --rule "linebreak-style: 0" --ext=.js,.mjs,.md .eslintrc.js benchmark doc lib test tools goto exit :lint-js-ci |