HiDeoo/starlight-links-validator

Plugin does not complain about links not ending with a slash when trailingSlash is set to always

Closed this issue · 2 comments

Describe the bug

If trailingSlash is set to always, the plugin does not complain about links not ending with a trailing slash.

To Reproduce

  1. Set trailingSlash to always
  2. Create a link without a trailing slash, e.g. /en/pricing

Expected behavior

The plugin should complain about the link because it does not end with a slash.

How often does this bug happen?

Every time

System Info

No response

Additional Context

No response

Thanks for your report 🙌

This should now be fixed in v0.7.0 v0.7.1 that I just released (found another issue right after releasing it so made a small patch).

Wow, this was fast! 🚀 Thank you! ☺️ Great work!