Skip to content

Commit

Permalink
lint: use handle-callback-err rule
Browse files Browse the repository at this point in the history
Make linter reinforce error handling in callbacks.

PR-URL: metarhia/jstp#279
Reviewed-By: Denys Otrishko <shishugi@gmail.com>
Reviewed-By: Mykola Bilochub <nbelochub@gmail.com>
  • Loading branch information
aqrln committed Jul 30, 2017
1 parent 4026f31 commit 66f5514
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ rules:
func-call-spacing:
- error
- never
handle-callback-err:
- error
- '^.*(e|E)rr'
key-spacing:
- error
- beforeColon: false
Expand Down

0 comments on commit 66f5514

Please sign in to comment.