Skip to content

Commit

Permalink
Update spacing.js
Browse files Browse the repository at this point in the history
  • Loading branch information
joshblack authored Mar 26, 2024
1 parent a5df094 commit d9c4ba7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/spacing.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const ruleName = 'primer/spacing'
const messages = stylelint.utils.ruleMessages(ruleName, {
rejected: (value, replacement) => {
if (replacement === null) {
return `Please use a primer spacer variable instead of '${value}'. Consult the primer docs for a suitable replacement. https://primer.style/css/support/spacing`
return `Please use a primer spacer variable instead of '${value}'. Consult the primer docs for a suitable replacement. https://primer.style/css/storybook/?path=/docs/support-spacing--docs`
}

return `Please replace ${value} with spacing variable '${replacement}'.`
Expand Down

0 comments on commit d9c4ba7

Please sign in to comment.