diff --git a/.markdownlint-cli2.mjs b/.markdownlint-cli2.mjs index c021c85..1f8f0ef 100644 --- a/.markdownlint-cli2.mjs +++ b/.markdownlint-cli2.mjs @@ -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 diff --git a/README.md b/README.md index 4e08ce0..ce22323 100644 --- a/README.md +++ b/README.md @@ -83,7 +83,7 @@ We recommend configuring [markdownlint-cli2](https://github.com/DavidAnson/markd `.markdownlint-cli2.mjs` ```js -import relativeLinksRule, { markdownIt } from "markdownlint-rule-relative-links" +import relativeLinksRule from "markdownlint-rule-relative-links" const config = { config: { @@ -93,9 +93,6 @@ const config = { globs: ["**/*.md"], ignores: ["**/node_modules"], customRules: [relativeLinksRule], - markdownItFactory: () => { - return markdownIt - }, } export default config