Hello
In the field of security, every plugin out there sort of contributes to solve the big picture, including eslint-plugin-unicorn.
There is one plugin focused on security: eslint-plugin-security, and other plugins focused on each security rule at a time, for example: the plugin eslint-plugin-xss. This one is outdated for so long, it doesn't work with ESLint anymore, and the author is offline. There was 1 rule in this plugin that was precious, as long as I know, no other ESLint plugin or ESLint itself is doing it: the "no-mixed-html" rule.
https://github.com/Rantanen/eslint-plugin-xss/blob/master/docs/rules/no-mixed-html.md
https://github.com/Rantanen/eslint-plugin-xss/blob/master/lib/rules/no-mixed-html.js
The second rule is much simpler, called not-location-href-assign:
https://github.com/Rantanen/eslint-plugin-xss/blob/master/docs/rules/no-location-href-assign.md
https://github.com/Rantanen/eslint-plugin-xss/blob/master/lib/rules/no-location-href-assign.js
I wonder if eslint-plugin-unicorn could bring this rule to eslint-plugin-unicorn in one way or another, so that the community doesn't lose it.
Please consider it or share to someone that might want to fork eslint-plugin-xss. Thank you.
https://github.com/Rantanen/eslint-plugin-xss/blob/master/docs/rules/no-location-href-assign.md
https://github.com/Rantanen/eslint-plugin-xss/blob/master/docs/rules/no-location-href-assign.md
no-mixed-html
No response
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too