@@ -118,8 +118,6 @@ if /i "%1"=="test-v8-all" set test_v8=1&set test_v8_intl=1&set test_v8_ben
118
118
if /i " %1 " == " lint-cpp" set lint_cpp = 1& goto arg-ok
119
119
if /i " %1 " == " lint-js" set lint_js = 1& goto arg-ok
120
120
if /i " %1 " == " jslint" set lint_js = 1& echo Please use lint-js instead of jslint& goto arg-ok
121
- if /i " %1 " == " lint-js-ci" set lint_js_ci = 1& goto arg-ok
122
- if /i " %1 " == " jslint-ci" set lint_js_ci = 1& echo Please use lint-js-ci instead of jslint-ci& goto arg-ok
123
121
if /i " %1 " == " lint-md" set lint_md = 1& goto arg-ok
124
122
if /i " %1 " == " lint-md-build" set lint_md_build = 1& goto arg-ok
125
123
if /i " %1 " == " lint" set lint_cpp = 1& set lint_js=1& set lint_md=1& goto arg-ok
@@ -627,18 +625,12 @@ goto lint-js
627
625
goto lint-js
628
626
629
627
:lint-js
630
- if defined lint_js_ci goto lint-js-ci
631
628
if not defined lint_js goto lint-md-build
632
629
if not exist tools\node_modules\eslint goto no-lint
633
630
echo running lint-js
634
631
%node_exe% tools\node_modules\eslint\bin\eslint.js --cache --report-unused-disable-directives --rule " linebreak-style: 0" --ext=.js,.mjs,.md .eslintrc.js benchmark doc lib test tools
635
632
goto lint-md-build
636
633
637
- :lint-js-ci
638
- echo running lint-js-ci
639
- %node_exe% tools\lint-js.js -J -f tap -o test-eslint.tap benchmark doc lib test tools
640
- goto lint-md-build
641
-
642
634
:no-lint
643
635
echo Linting is not available through the source tarball.
644
636
echo Use the git repo instead: $ git clone https://github.com/nodejs/node.git
@@ -670,7 +662,7 @@ set exit_code=1
670
662
goto exit
671
663
672
664
:help
673
- echo vcbuild.bat [debug/release] [msi] [doc] [test/test-all/test-addons/test-js-native-api/test-node-api/test-benchmark/test-internet/test-pummel/test-simple/test-message/test-tick-processor/test-known-issues/test-node-inspect/test-check-deopts/test-npm/test-async-hooks/test-v8/test-v8-intl/test-v8-benchmarks/test-v8-all] [ignore-flaky] [static/dll] [noprojgen] [projgen] [small-icu/full-icu/without-intl] [nobuild] [nosnapshot] [noetw] [ltcg] [licensetf] [sign] [ia32/x86/x64/arm64] [vs2019] [download-all] [lint/lint-ci/lint-js/lint-js-ci/lint- md] [lint-md-build] [package] [build-release] [upload] [no-NODE-OPTIONS] [link-module path-to-module] [debug-http2] [debug-nghttp2] [clean] [cctest] [no-cctest] [openssl-no-asm] [experimental-quic]
665
+ echo vcbuild.bat [debug/release] [msi] [doc] [test/test-all/test-addons/test-js-native-api/test-node-api/test-benchmark/test-internet/test-pummel/test-simple/test-message/test-tick-processor/test-known-issues/test-node-inspect/test-check-deopts/test-npm/test-async-hooks/test-v8/test-v8-intl/test-v8-benchmarks/test-v8-all] [ignore-flaky] [static/dll] [noprojgen] [projgen] [small-icu/full-icu/without-intl] [nobuild] [nosnapshot] [noetw] [ltcg] [licensetf] [sign] [ia32/x86/x64/arm64] [vs2019] [download-all] [lint/lint-ci/lint-js/lint-md] [lint-md-build] [package] [build-release] [upload] [no-NODE-OPTIONS] [link-module path-to-module] [debug-http2] [debug-nghttp2] [clean] [cctest] [no-cctest] [openssl-no-asm] [experimental-quic]
674
666
echo Examples:
675
667
echo vcbuild.bat : builds release build
676
668
echo vcbuild.bat debug : builds debug build
0 commit comments