Skip to content

Commit 36c977e

Browse files
Trottgibfahn
authored andcommitted
tools: enable no-return-await lint rule
Enable lint rule that prohibits unnecessary use of `await` with `return`. PR-URL: #17265 Reviewed-By: Timothy Gu <[email protected]> Reviewed-By: Vse Mozhet Byt <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Anatoli Papirovski <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Gibson Fahnestock <[email protected]>
1 parent f1de0da commit 36c977e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.eslintrc.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ rules:
6666
message: __defineGetter__ is deprecated.
6767
- property: __defineSetter__
6868
message: __defineSetter__ is deprecated.
69+
no-return-await: error
6970
no-self-assign: error
7071
no-throw-literal: error
7172
no-unused-labels: error

0 commit comments

Comments
 (0)