Update eslint.json

This commit is contained in:
Tina Liang
2017-12-14 15:33:30 -08:00
committed by GitHub
parent a81f849cf0
commit bc27edf539

View File

@@ -114,6 +114,7 @@
"prefer-arrow-callback": 1,
// Return inside each then() to create readable and reusable Promise chains.
// Forces developers to return console logs and http calls in promises.
"promise/always-return": 2,
//Enforces the use of catch() on un-returned promises