diff --git a/desktop/.eslintrc.js b/desktop/.eslintrc.js index 5cb187b52..7c2b64fe0 100644 --- a/desktop/.eslintrc.js +++ b/desktop/.eslintrc.js @@ -107,7 +107,7 @@ module.exports = { 'communist-spelling/communist-spelling': [1, {allow: ['cancelled']}], // promise rules, see https://github.com/xjamundx/eslint-plugin-promise for details on each of them - 'promise/catch-or-return': 'warn', + 'promise/catch-or-return': 'error', 'promise/no-nesting': 'warn', 'promise/no-promise-in-callback': 'warn', 'promise/no-callback-in-promise': 'warn',