eslint-plugin-xss
eslint-plugin-xss copied to clipboard
Support ESLint 9.0.0
This plugin doesn't work with ESLint 9.0.0.
@Rantanen
Migration guide: https://eslint.org/blog/2023/11/whats-coming-in-eslint-9.0.0/
Sadly even with @eslint/compat this doesn't work yet, and throws the error context.getSourceCode(...).getComments is not a function
in xss/no-mixed-html
's nodeHasSafeComment
.