High
Javascript
Use async/await over callbacks and .then()
Official
Rule Description
async/await for all async code. Easier to read, proper try/catch, works with loops.
Included in Rulesets
React Standards
60 rules • 1 standard
Vue Best Practices
60 rules • 1 standard
Angular Guidelines
60 rules • 1 standard
Next.js Patterns
60 rules • 1 standard
Express Standards
60 rules • 1 standard
JavaScript Guide
60 rules • 2 standards
TypeScript Guide
60 rules • 4 standards
Code Review Standards
214 rules • 0 standards
Add This Rule
Sign in to add this rule to your workspace
Sign in with GitHubDetails
- Severity
- High
- Category
- Javascript
- Used in
- 8 rulesets