oxc/no-async-await
oxc plugin · restriction
{
"rules": {
"oxc/no-async-await": "error"
}
}async function foo() {
await bar();
return baz();
}The documentation shows no correct example for this rule.
Examples from the Oxlint documentation.
No tracked preset enables this rule, so it has no reach yet.
None of the tracked presets enable this rule. Turn it on with the config below.
ESLint does not have this rule.
oxc/no-async-await
oxc plugin · restriction
{
"rules": {
"oxc/no-async-await": "error"
}
}Biome does not have this rule.
Disallow the use of object or array spreads in Array.prototype.map and Array.prototype.flatMap to add properties/elements to array items.
Disallows the use of this in exported functions.
Disallow the use of barrel files where the file contains export * statements, and the total number of modules exceeds a threshold.