Docs: Consider using a URL shortener for links printed by code #9023
Labels
accepting prs
Go ahead, send a pull request that resolves this issue
documentation
Documentation ("docs") that needs adding/updating
Before You File a Documentation Request Please Confirm You Have Done The Following...
Suggested Changes
We occasionally need to print long links in code. For example, when using a deprecated property, we'll print something like:
That link is long and unwieldy. Also, if we ever want to change the page path and/or hash link, we need to set up redirects. I'm working on #8926 right now and can already tell it's going to be lot of
netlify.toml
entries - and maybe even runtime code.Proposal: how about we start using a URL shortener for smaller, more permanent links? A few options come to mind:
https://typescript-eslint.io/link/key-is-deprecated
https://typescript-eslint.io/link/abc123
https://tseslint.io/key-is-deprecated
https://tseslint.io/abc123
tseslint.dev
andtseslint.io
are both available...Affected URL(s)
n/a
💖
The text was updated successfully, but these errors were encountered: