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`.
  • Loading branch information
Trott committed Nov 29, 2017
1 parent 58f7f40 commit 6ff7320
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .eslintrc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,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 6ff7320

Please sign in to comment.