diff --git a/.eslintrc.js b/.eslintrc.js index e41d5ae0..2d392964 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -6,7 +6,7 @@ const ERROR = 2; /** @type {import('eslint').Linter.Config} */ module.exports = { root: true, - extends: ["@remix-run/eslint-config/internal", "plugin:markdown/recommended"], + extends: ["@remix-run/eslint-config/internal", "plugin:markdown/recommended-legacy"], plugins: ["markdown"], settings: { "import/internal-regex": "^~/", diff --git a/package.json b/package.json index a33d4dd4..955c48a7 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "@types/react": "^18.3.3", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", - "eslint-plugin-markdown": "^3.0.1", + "eslint-plugin-markdown": "^5.0.0", "eslint-plugin-cypress": "^3.3.0", "eslint-plugin-prefer-let": "^3.0.1", "jest": "^29.7.0", diff --git a/yarn.lock b/yarn.lock index 3479e9fb..978f6721 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1753,10 +1753,10 @@ eslint-plugin-jsx-a11y@^6.7.1: object.fromentries "^2.0.6" semver "^6.3.0" -eslint-plugin-markdown@^3.0.1: - version "3.0.1" - resolved "https://registry.npmjs.org/eslint-plugin-markdown/-/eslint-plugin-markdown-3.0.1.tgz#fc6765bdb5f82a75e2438d7fac619602f2abc38c" - integrity sha512-8rqoc148DWdGdmYF6WSQFT3uQ6PO7zXYgeBpHAOAakX/zpq+NvFYbDA/H7PYzHajwtmaOzAwfxyl++x0g1/N9A== +eslint-plugin-markdown@^5.0.0: + version "5.0.0" + resolved "https://registry.npmjs.org/eslint-plugin-markdown/-/eslint-plugin-markdown-5.0.0.tgz#a2b69bce83e85838111d44c84b2d6721452dbb73" + integrity sha512-kY2u9yDhzvfZ0kmRTsvgm3mTnvZgTSGIIPeHg3yesSx4R5CTCnITUjCPhzCD1MUhNcqHU5Tr6lzx+02EclVPbw== dependencies: mdast-util-from-markdown "^0.8.5"