sonarjs/synchronous-exception-assertions
eslint-plugin-sonarjs
SuggestionRecommended
eslint.config.js
export default [
{
rules: {
"sonarjs/synchronous-exception-assertions": "error",
},
},
];Synchronous exception assertions should receive synchronous callbacks
No code example for this rule
The linters' documentation does not include one we could extract.
sonarjs/synchronous-exception-assertions
eslint-plugin-sonarjs
export default [
{
rules: {
"sonarjs/synchronous-exception-assertions": "error",
},
},
];Oxlint does not have this rule.
Biome does not have this rule.
Regular expressions should not cause non-linear backtracking
Tests should not be registered asynchronously in suite callbacks
HTTP Strict-Transport-Security policy should not be disabled
Regular expressions with the global flag should be used with caution
Table cells should reference their headers