Skip to content

Commit a787ef9

Browse files
fix: disable require-await rule
1 parent 9271566 commit a787ef9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

configs/javascript.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,8 @@ const suggestions = {
622622

623623
radix: ["error", "always"],
624624

625-
"require-await": "error",
625+
// `require-await` doesn't work when the function returns Promise<any>
626+
// "require-await": "off",
626627

627628
// No need
628629
// "require-unicode-regexp": "error",

0 commit comments

Comments
 (0)