From 8d83c470291d05f22010662380633bbddf0e7dcb Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Mon, 20 Sep 2021 11:54:58 -0700 Subject: tools: re-implement lint-md without unified-args `unified-args` ignores settings in the preset, expecting them to be in remarkrc files or passed on the command line instead. Realizing that we always send the same configuration options via the command-line anyway, this removes `unified-args`. This means the preset settings are now respected and it removes nearly 30000 lines of code in the resulting rollup file. I wasn't sure I was going to want to keep rollup so I started re-implementing this without it, but ended up putting a minimal rollup back as it still saves about 90000 lines of code vs. checking in `node_modules`. PR-URL: https://github.com/nodejs/node/pull/40180 Reviewed-By: Antoine du Hamel Reviewed-By: James M Snell --- .eslintignore | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to '.eslintignore') diff --git a/.eslintignore b/.eslintignore index e8b8c3f2977..8ab4750abd1 100644 --- a/.eslintignore +++ b/.eslintignore @@ -4,8 +4,7 @@ test/addons/??_* test/fixtures test/message/esm_display_syntax_error.mjs tools/icu -tools/lint-md.mjs -tools/node-lint-md-cli-rollup/dist +tools/lint-md/lint-md.mjs benchmark/tmp doc/**/*.js !.eslintrc.js -- cgit v1.2.3