sonarjs/no-forced-browser-interaction
eslint-plugin-sonarjs
No autofixRecommended
eslint.config.js
export default [
{
rules: {
"sonarjs/no-forced-browser-interaction": "error",
},
},
];Forced browser interactions should not bypass actionability checks
No code example for this rule
The linters' documentation does not include one we could extract.
sonarjs/no-forced-browser-interaction
eslint-plugin-sonarjs
export default [
{
rules: {
"sonarjs/no-forced-browser-interaction": "error",
},
},
];Oxlint does not have this rule.
Biome does not have this rule.
Floating point numbers should not be tested for equality
Special identifiers should not be bound or assigned
Switch cases should end with an unconditional "break" statement
Boolean expressions should not be gratuitous