mirror of
https://github.com/theoludwig/markdownlint-rule-relative-links.git
synced 2026-07-03 17:34:18 +02:00
Compare commits
2 Commits
1385c4bd80
...
be2c1746c2
| Author | SHA1 | Date | |
|---|---|---|---|
|
be2c1746c2
|
|||
|
21fbd5f963
|
@@ -6,5 +6,8 @@
|
|||||||
"browser": true,
|
"browser": true,
|
||||||
"node": true,
|
"node": true,
|
||||||
"shared-node-browser": true
|
"shared-node-browser": true
|
||||||
|
},
|
||||||
|
"rules": {
|
||||||
|
"unicorn/prefer-number-coercion": "off"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Generated
+327
-312
File diff suppressed because it is too large
Load Diff
+7
-7
@@ -41,14 +41,14 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/markdown-it": "14.1.2",
|
"@types/markdown-it": "14.1.2",
|
||||||
"@types/node": "25.9.2",
|
"@types/node": "26.1.0",
|
||||||
"eslint-config-conventions": "21.4.0",
|
"eslint-config-conventions": "21.4.0",
|
||||||
"markdownlint": "0.40.0",
|
"markdownlint": "0.41.0",
|
||||||
"markdownlint-cli2": "0.22.1",
|
"markdownlint-cli2": "0.23.0",
|
||||||
"oxfmt": "0.54.0",
|
"oxfmt": "0.57.0",
|
||||||
"oxlint": "1.69.0",
|
"oxlint": "1.72.0",
|
||||||
"oxlint-tsgolint": "0.23.0",
|
"oxlint-tsgolint": "0.24.0",
|
||||||
"semantic-release": "25.0.3",
|
"semantic-release": "25.0.5",
|
||||||
"typescript": "6.0.3"
|
"typescript": "6.0.3"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
|
|||||||
+2
-1
@@ -29,7 +29,8 @@ const relativeLinksRule = {
|
|||||||
filterTokens(params, "inline", (token) => {
|
filterTokens(params, "inline", (token) => {
|
||||||
const children = token.children ?? []
|
const children = token.children ?? []
|
||||||
for (const child of children) {
|
for (const child of children) {
|
||||||
const { type, attrs, lineNumber } = child
|
const { type, lineNumber } = child
|
||||||
|
const attrs = child.attrs ?? []
|
||||||
|
|
||||||
/** @type {string | undefined} */
|
/** @type {string | undefined} */
|
||||||
let hrefSrc
|
let hrefSrc
|
||||||
|
|||||||
Reference in New Issue
Block a user