Skip to content

Commit

Permalink
feat: Enables require-await.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexseitsinger committed Mar 7, 2020
1 parent 2cc1632 commit c38c8c3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion plugins/eslint/rules.js
Original file line number Diff line number Diff line change
Expand Up @@ -2437,10 +2437,12 @@ module.exports = {
*
* NOTES:
* - patches this according to AirBNB eslint.
* - If an async function doens't contain await, it is executed synchronously,
* so when we use it, we should enforce await.
*
* Https://eslint.org/docs/rules/require-await.
*/
"require-await": "off",
"require-await": "error",

/**
* Enforce the use of u flag on RegExp.
Expand Down

0 comments on commit c38c8c3

Please sign in to comment.