sonarjs/no-interpolation-in-inline-snapshots
eslint-plugin-sonarjs
No autofixRecommended
eslint.config.js
export default [
{
rules: {
"sonarjs/no-interpolation-in-inline-snapshots": "error",
},
},
];Inline snapshots should not contain interpolations
No code example for this rule
The linters' documentation does not include one we could extract.
sonarjs/no-interpolation-in-inline-snapshots
eslint-plugin-sonarjs
export default [
{
rules: {
"sonarjs/no-interpolation-in-inline-snapshots": "error",
},
},
];Oxlint does not have this rule.
Biome does not have this rule.
Regular expressions should be syntactically valid
Assertions comparing incompatible types should not be made