diff options
author | Rich Trott <rtrott@gmail.com> | 2021-09-20 11:54:58 -0700 |
---|---|---|
committer | Node.js GitHub Bot <github-bot@iojs.org> | 2021-09-25 03:51:52 +0000 |
commit | 8d83c470291d05f22010662380633bbddf0e7dcb (patch) | |
tree | b7f88c7f1c056c1017838ce94de33a5fff310297 /.eslintignore | |
parent | 80065865be96b5e283e0bd9caccd96521839cd3d (diff) | |
download | node-new-8d83c470291d05f22010662380633bbddf0e7dcb.tar.gz |
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 <duhamelantoine1995@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to '.eslintignore')
-rw-r--r-- | .eslintignore | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/.eslintignore b/.eslintignore index e8b8c3f297..8ab4750abd 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 |