Skip to content

Commit

Permalink
tools: enable no-return-await lint rule
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Trott authored and gibfahn committed Dec 20, 2017
1 parent f1de0da commit 36c977e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .eslintrc.yaml
Expand Up @@ -66,6 +66,7 @@ rules:
message: __defineGetter__ is deprecated.
- property: __defineSetter__
message: __defineSetter__ is deprecated.
no-return-await: error
no-self-assign: error
no-throw-literal: error
no-unused-labels: error
Expand Down

0 comments on commit 36c977e

Please sign in to comment.