diff options
author | cjihrig <cjihrig@gmail.com> | 2021-02-28 21:05:42 +0300 |
---|---|---|
committer | cjihrig <cjihrig@gmail.com> | 2021-03-03 20:42:26 +0300 |
commit | 934d3f05a3ff4ed3755ce4f436f126d376cef87b (patch) | |
tree | 5504910c49a65bc663df3ee78e60a98d909bac3e /Makefile | |
parent | f6b1df222665aa6ec07fd4eeccb704848cbaf2f1 (diff) |
tools: update eslint-plugin-markdown configuration
This commit updates the linting setup to work with
eslint-plugin-markdown@2.0.0. This also allows the update-eslint
script to continue to function properly without changes.
PR-URL: https://github.com/nodejs/node/pull/37549
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -1209,7 +1209,7 @@ lint-md: lint-js-doc | tools/.mdlintstamp LINT_JS_TARGETS = .eslintrc.js benchmark doc lib test tools run-lint-js = tools/node_modules/eslint/bin/eslint.js --cache \ - --report-unused-disable-directives --ext=$(EXTENSIONS) $(LINT_JS_TARGETS) + --report-unused-disable-directives $(LINT_JS_TARGETS) run-lint-js-fix = $(run-lint-js) --fix .PHONY: lint-js-fix @@ -1220,8 +1220,6 @@ lint-js-fix: .PHONY: lint-js-doc # Note that on the CI `lint-js-ci` is run instead. # Lints the JavaScript code with eslint. -lint-js lint-js-fix: EXTENSIONS=.js,.mjs,.md -lint-js-doc: EXTENSIONS=.md lint-js lint-js-doc: @if [ "$(shell $(node_use_openssl))" != "true" ]; then \ echo "Skipping $@ (no crypto)"; \ @@ -1234,7 +1232,7 @@ jslint: lint-js $(warning Please use lint-js instead of jslint) run-lint-js-ci = tools/node_modules/eslint/bin/eslint.js \ - --report-unused-disable-directives --ext=.js,.mjs,.md -f tap \ + --report-unused-disable-directives -f tap \ -o test-eslint.tap $(LINT_JS_TARGETS) .PHONY: lint-js-ci |