Skip to content

Commit

Permalink
Enable return-await rule
Browse files Browse the repository at this point in the history
It's not enabled by recommended-type-checked despite what the documentation says
  • Loading branch information
Jalle19 committed Sep 2, 2024
1 parent 6a12a6c commit a84d92c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ export default [
"no-console": "error",
// We have type-hinted functions that in their dummy implementations return static data
"@typescript-eslint/require-await": "off",
"@typescript-eslint/return-await": "error"
},
},
];

0 comments on commit a84d92c

Please sign in to comment.