mirror of
https://github.com/theoludwig/programming-challenges.git
synced 2025-05-13 23:22:49 +02:00
20 lines
442 B
JavaScript
20 lines
442 B
JavaScript
import relativeLinksRule, { markdownIt } from "markdownlint-rule-relative-links"
|
|
|
|
const config = {
|
|
config: {
|
|
extends: "markdownlint/style/prettier",
|
|
default: true,
|
|
"relative-links": true,
|
|
"no-duplicate-heading": false,
|
|
"no-inline-html": false,
|
|
},
|
|
globs: ["**/*.md"],
|
|
ignores: ["**/node_modules"],
|
|
customRules: [relativeLinksRule],
|
|
markdownItFactory: () => {
|
|
return markdownIt
|
|
},
|
|
}
|
|
|
|
export default config
|