sonarjs/dompurify-unsafe-config
eslint-plugin-sonarjs
No autofixRecommended
eslint.config.js
export default [
{
rules: {
"sonarjs/dompurify-unsafe-config": "error",
},
},
];DOMPurify configuration should not be bypassable
No code example for this rule
The linters' documentation does not include one we could extract.
sonarjs/dompurify-unsafe-config
eslint-plugin-sonarjs
export default [
{
rules: {
"sonarjs/dompurify-unsafe-config": "error",
},
},
];Oxlint does not have this rule.
Biome does not have this rule.
Character classes in regular expressions should not contain the same character twice
Remote artifacts should not be used without integrity checks
Templates should not be constructed dynamically
Auto-escaping in HTML template engines should not be disabled
Repeated patterns in regular expressions should not match the empty string