-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Security hints #6188
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Not stale, also already has PR ready for it. |
There is now a compile-time warning for this in 3.52.0. |
9 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
Svelte is really helpful for giving hints such as a11y (eg:
A11y: '' is not a valid href attribute
).My point here would be to do kind of the same thing with basic security rules.
For instance, one of a security rule would be to not make a
target=_blank
on a link without the attributesrel="noreferrer noopener"
.The text was updated successfully, but these errors were encountered: