Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove period for ESLint passHref docs link. #26402

Merged
merged 3 commits into from
Jun 20, 2021
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/eslint-plugin-next/lib/rules/link-passhref.js
Original file line number Diff line number Diff line change
Expand Up @@ -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`,
})
}
},
Expand Down
4 changes: 2 additions & 2 deletions test/eslint-plugin-next/link-passhref.unit.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
},
],
Expand All @@ -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',
},
],
Expand Down