mirror of
https://github.com/theoludwig/markdownlint-rule-relative-links.git
synced 2025-05-20 21:36:16 +02:00
19 lines
412 B
JavaScript
19 lines
412 B
JavaScript
import relativeLinksRule, { markdownIt } from "./src/index.js"
|
|
|
|
const config = {
|
|
config: {
|
|
extends: "markdownlint/style/prettier",
|
|
default: true,
|
|
"relative-links": true,
|
|
"no-inline-html": false,
|
|
},
|
|
globs: ["**/*.md"],
|
|
ignores: ["**/node_modules", "**/test/fixtures/**"],
|
|
customRules: [relativeLinksRule],
|
|
markdownItFactory: () => {
|
|
return markdownIt
|
|
},
|
|
}
|
|
|
|
export default config
|