eslint-plugin-import-x
eslint-plugin-import-x copied to clipboard
Rule proposal: no-mixed-html
Hello In the field of security, every plugin out there sort of contributes to solve the big picture, including eslint-plugin-import-x.
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-import-x could bring this rule to eslint-plugin-import-x 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.