Skip to content

Commit f31b0c9

Browse files
Trotttargos
authored andcommittedOct 4, 2021
tools: update remark-preset-lint-node to 3.2.0
PR-URL: #40278 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
1 parent 66d3101 commit f31b0c9

File tree

4 files changed

+12328
-12614
lines changed

4 files changed

+12328
-12614
lines changed
 

‎tools/lint-md/lint-md.mjs

+12,220-12,168
Large diffs are not rendered by default.

‎tools/lint-md/lint-md.src.mjs

-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import { unified } from 'unified';
44
import remarkParse from 'remark-parse';
55
import remarkStringify from 'remark-stringify';
66
import presetLintNode from 'remark-preset-lint-node';
7-
import gfm from 'remark-gfm';
87
import { read } from 'to-vfile';
98
import { reporter } from 'vfile-reporter';
109

@@ -24,7 +23,6 @@ if (paths[0] === '--format') {
2423

2524
const linter = unified()
2625
.use(remarkParse)
27-
.use(gfm)
2826
.use(presetLintNode)
2927
.use(remarkStringify);
3028

‎tools/lint-md/package-lock.json

+108-443
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎tools/lint-md/package.json

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
"build": "rollup -f es -p '@rollup/plugin-node-resolve={exportConditions: [\"node\"]}' -p @rollup/plugin-commonjs lint-md.src.mjs --file lint-md.mjs"
77
},
88
"dependencies": {
9-
"remark-gfm": "^2.0.0",
109
"remark-parse": "^10.0.0",
1110
"remark-preset-lint-node": "^3.0.1",
1211
"remark-stringify": "^10.0.0",

0 commit comments

Comments
 (0)
Please sign in to comment.