Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

Commit

Permalink
Require using Error objects in Promise rejection
Browse files Browse the repository at this point in the history
It's now required in the internal style guide.
  • Loading branch information
ShikChen committed Dec 11, 2018
1 parent d833369 commit 0b02f5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -139,7 +139,7 @@ module.exports = {
// 'no-void': 0,
// 'no-warning-comments': 0,
'no-with': 2,
// 'prefer-promise-reject-errors': 0,
'prefer-promise-reject-errors': 2,
// 'radix': 0,
// 'require-await': 0,
// 'vars-on-top': 0,
Expand Down

0 comments on commit 0b02f5b

Please sign in to comment.