sonarjs/stable-tests
eslint-plugin-sonarjs
No autofixRecommended
eslint.config.js
export default [
{
rules: {
"sonarjs/stable-tests": "error",
},
},
];No code example for this rule
The linters' documentation does not include one we could extract.
sonarjs/stable-tests
eslint-plugin-sonarjs
export default [
{
rules: {
"sonarjs/stable-tests": "error",
},
},
];Oxlint does not have this rule.
Biome does not have this rule.
Regular expressions with the global flag should be used with caution
Regular expressions should not cause catastrophic backtracking
HTTP Strict-Transport-Security policy should not be disabled
Single-character alternations in regular expressions should be replaced with character classes
Regular expressions should not cause non-linear backtracking