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 <timothygu99@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
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.