sonarjs/dynamically-constructed-templates
eslint-plugin-sonarjs
No autofixRecommended
eslint.config.js
export default [
{
rules: {
"sonarjs/dynamically-constructed-templates": "error",
},
},
];Templates should not be constructed dynamically
No code example for this rule
The linters' documentation does not include one we could extract.
sonarjs/dynamically-constructed-templates
eslint-plugin-sonarjs
export default [
{
rules: {
"sonarjs/dynamically-constructed-templates": "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
Repeated patterns in regular expressions should not match the empty string
DOMPurify configuration should not be bypassable
Encryption algorithms should be used with secure mode and padding scheme
Replacement strings should reference existing regular expression groups