Skip to content

Commit 6c65e04

Browse files
TrottMylesBorins
authored andcommittedDec 12, 2017
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 a256482 commit 6c65e04

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎.eslintrc.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ rules:
6969
message: __defineGetter__ is deprecated.
7070
- property: __defineSetter__
7171
message: __defineSetter__ is deprecated.
72+
no-return-await: error
7273
no-self-assign: error
7374
no-throw-literal: error
7475
no-unused-labels: error

0 commit comments

Comments
 (0)
Please sign in to comment.