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