mirror of
https://github.com/theoludwig/markdownlint-rule-relative-links.git
synced 2025-05-27 11:37:24 +02:00
feat: add support for markdownlint v0.38.0
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
import relativeLinksRule from "./src/index.js"
|
||||
import relativeLinksRule, { markdownIt } from "./src/index.js"
|
||||
|
||||
const config = {
|
||||
config: {
|
||||
@ -10,6 +10,9 @@ const config = {
|
||||
globs: ["**/*.md"],
|
||||
ignores: ["**/node_modules", "**/test/fixtures/**"],
|
||||
customRules: [relativeLinksRule],
|
||||
markdownItFactory: () => {
|
||||
return markdownIt
|
||||
},
|
||||
}
|
||||
|
||||
export default config
|
||||
|
Reference in New Issue
Block a user