docs: markdownItFactory is not necessary

Ref: https://github.com/theoludwig/markdownlint-rule-relative-links/issues/13
This commit is contained in:
2025-05-20 21:35:43 +02:00
parent 876384344c
commit 9bb5ffe0ae
2 changed files with 2 additions and 8 deletions

View File

@ -1,4 +1,4 @@
import relativeLinksRule, { markdownIt } from "./src/index.js"
import relativeLinksRule from "./src/index.js"
const config = {
config: {
@ -10,9 +10,6 @@ const config = {
globs: ["**/*.md"],
ignores: ["**/node_modules", "**/test/fixtures/**"],
customRules: [relativeLinksRule],
markdownItFactory: () => {
return markdownIt
},
}
export default config