From 116ba92ca22b61a1657937005a0fcd1720f0d11b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 3 Feb 2025 08:43:12 +0000 Subject: [PATCH] Bump markdownlint-rule-relative-links from 3.0.0 to 4.0.1 in /docs (#1068) Bumps [markdownlint-rule-relative-links](https://github.com/theoludwig/markdownlint-rule-relative-links) from 3.0.0 to 4.0.1.
Release notes

Sourced from markdownlint-rule-relative-links's releases.

v4.0.1

4.0.1 (2024-12-28)

Bug Fixes

v4.0.0

4.0.0 (2024-12-28)

Features

BREAKING CHANGES

Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=markdownlint-rule-relative-links&package-manager=npm_and_yarn&previous-version=3.0.0&new-version=4.0.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
--------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Erik Vroon --- docs/.markdownlint-cli2.jsonc | 23 ----------------------- docs/.markdownlint-cli2.mjs | 25 +++++++++++++++++++++++++ docs/package.json | 5 +++-- docs/yarn.lock | 8 ++++---- 4 files changed, 32 insertions(+), 29 deletions(-) delete mode 100644 docs/.markdownlint-cli2.jsonc create mode 100644 docs/.markdownlint-cli2.mjs diff --git a/docs/.markdownlint-cli2.jsonc b/docs/.markdownlint-cli2.jsonc deleted file mode 100644 index dba1df3f..00000000 --- a/docs/.markdownlint-cli2.jsonc +++ /dev/null @@ -1,23 +0,0 @@ -{ - "config": { - "default": true, - "line-length": { - "strict": true, - "code_blocks": false, - "line_length": 100 - }, - - // part of the markdownlint-rule-relative-links plugin - "relative-links": true - }, - "globs": [ - "**/*.{md,mdx}" - ], - "ignores": [ - "node_modules", - "static" - ], - "customRules": [ - "markdownlint-rule-relative-links" - ] -} diff --git a/docs/.markdownlint-cli2.mjs b/docs/.markdownlint-cli2.mjs new file mode 100644 index 00000000..4527e0a0 --- /dev/null +++ b/docs/.markdownlint-cli2.mjs @@ -0,0 +1,25 @@ +import relativeLinksRule from "markdownlint-rule-relative-links" + +const config = { + config: { + default: true, + "line-length": { + strict: true, + code_blocks: false, + line_length: 100 + }, + + // part of the markdownlint-rule-relative-links plugin + "relative-links": true + }, + globs: [ + "**/*.{md,mdx}" + ], + ignores: [ + "node_modules", + "static" + ], + customRules: [relativeLinksRule], +} + +export default config diff --git a/docs/package.json b/docs/package.json index 27361036..ec654eae 100644 --- a/docs/package.json +++ b/docs/package.json @@ -15,7 +15,8 @@ "prettier:check": "prettier --check \"**/*.{js,jsx,ts,tsx}\"", "prettier:write": "prettier --write \"**/*.{js,jsx,ts,tsx}\"", "test": "yarn run prettier:write && yarn run markdownlint-cli2 --fix", - "test-check": "yarn run prettier:check && yarn run markdownlint-cli2" + "test-check": "yarn run prettier:check && yarn run markdownlint-cli2 --config .markdownlint-cli2.mjs", + "lint:markdown": "markdownlint-cli2" }, "dependencies": { "@docusaurus/core": "^3.0.1", @@ -61,7 +62,7 @@ "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", "markdownlint-cli2": "^0.14.0", - "markdownlint-rule-relative-links": "^3.0.0", + "markdownlint-rule-relative-links": "^4.0.1", "postcss": "^8.4.32", "postcss-preset-mantine": "^1.11.1", "postcss-simple-vars": "^7.0.1", diff --git a/docs/yarn.lock b/docs/yarn.lock index 35bc5445..ce1b6d0e 100644 --- a/docs/yarn.lock +++ b/docs/yarn.lock @@ -7994,10 +7994,10 @@ markdownlint-micromark@0.1.10: resolved "https://registry.yarnpkg.com/markdownlint-micromark/-/markdownlint-micromark-0.1.10.tgz#a77a1a70adad9eac18ff412baf36a0c2189875d7" integrity sha512-no5ZfdqAdWGxftCLlySHSgddEjyW4kui4z7amQcGsSKfYC5v/ou+8mIQVyg9KQMeEZLNtz9OPDTj7nnTnoR4FQ== -markdownlint-rule-relative-links@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/markdownlint-rule-relative-links/-/markdownlint-rule-relative-links-3.0.0.tgz#e4de472298f3859c51ea3e421350cf7649bbef12" - integrity sha512-+Ek2J8kXKtL8IcjmPYBsxtS37etKIbPE85aj/ehwSlxcWIlT0BCsA/SPHZlIICiZON786XVrLStMCJ1x25D3oA== +markdownlint-rule-relative-links@^4.0.1: + version "4.0.1" + resolved "https://registry.yarnpkg.com/markdownlint-rule-relative-links/-/markdownlint-rule-relative-links-4.0.1.tgz#3db474bcb4b5c9b6cf7d7095103428ff36e3e3f2" + integrity sha512-tLr8YVR1qeZfMsixFtj49N0ABrPZpTFqk0cz6+j4zB9ZIJ9diiQ7f+npykTeGYvPUVkf5Zw8y4U0JDGGsU+zKQ== dependencies: markdown-it "14.1.0"