diff --git a/packages/eslint-plugin-next/lib/rules/link-passhref.js b/packages/eslint-plugin-next/lib/rules/link-passhref.js index fc78090a8e3d6..af0f35596c7db 100644 --- a/packages/eslint-plugin-next/lib/rules/link-passhref.js +++ b/packages/eslint-plugin-next/lib/rules/link-passhref.js @@ -54,7 +54,7 @@ module.exports = { attributes.value('passHref') !== true ? 'must be set to true' : 'is missing' - }. See https://nextjs.org/docs/messages/link-passhref.`, + }. See https://nextjs.org/docs/messages/link-passhref`, }) } }, diff --git a/test/eslint-plugin-next/link-passhref.unit.test.js b/test/eslint-plugin-next/link-passhref.unit.test.js index b980fff496917..398f14e805b52 100644 --- a/test/eslint-plugin-next/link-passhref.unit.test.js +++ b/test/eslint-plugin-next/link-passhref.unit.test.js @@ -53,7 +53,7 @@ ruleTester.run('link-passhref', rule, { errors: [ { message: - 'passHref is missing. See https://nextjs.org/docs/messages/link-passhref.', + 'passHref is missing. See https://nextjs.org/docs/messages/link-passhref', type: 'JSXOpeningElement', }, ], @@ -70,7 +70,7 @@ ruleTester.run('link-passhref', rule, { errors: [ { message: - 'passHref must be set to true. See https://nextjs.org/docs/messages/link-passhref.', + 'passHref must be set to true. See https://nextjs.org/docs/messages/link-passhref', type: 'JSXOpeningElement', }, ],