diff --git a/templates/init/functions/javascript/eslint.json b/templates/init/functions/javascript/eslint.json index eb4c9316..09fba76d 100644 --- a/templates/init/functions/javascript/eslint.json +++ b/templates/init/functions/javascript/eslint.json @@ -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