Skip to content

Commit

Permalink
Require using Error objects as Promise rejection reasons (prefer-prom…
Browse files Browse the repository at this point in the history
…ise-reject-errors)

Fixes: standard/standard#777
  • Loading branch information
feross committed Feb 9, 2017
1 parent d5e2880 commit 4734a11
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions eslintrc.json
Expand Up @@ -138,6 +138,7 @@
"one-var": ["error", { "initialized": "never" }],
"operator-linebreak": ["error", "after", { "overrides": { "?": "before", ":": "before" } }],
"padded-blocks": ["error", "never"],
"prefer-promise-reject-errors": "error",
"quotes": ["error", "single", { "avoidEscape": true, "allowTemplateLiterals": true }],
"rest-spread-spacing": ["error", "never"],
"semi": ["error", "never"],
Expand Down

0 comments on commit 4734a11

Please sign in to comment.