sonarjs/no-async-constructor
eslint-plugin-sonarjs
No autofixRecommended
eslint.config.js
export default [
{
rules: {
"sonarjs/no-async-constructor": "error",
},
},
];Constructors should not contain asynchronous operations
No code example for this rule
The linters' documentation does not include one we could extract.
sonarjs/no-async-constructor
eslint-plugin-sonarjs
export default [
{
rules: {
"sonarjs/no-async-constructor": "error",
},
},
];Oxlint does not have this rule.
Biome does not have this rule.
"switch" statements should not contain non-case labels
Angular built-in sanitization should not be disabled
Tests should not execute any code after "done()" is called