diff options
author | abcang <abcang1015@gmail.com> | 2020-07-12 06:51:22 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-11 23:51:22 +0200 |
commit | bb9d4e2776ab1b655d63d8a661e2f5c997983bcf (patch) | |
tree | cafad6746b85246a1297d3d465d410f9f77b26bb | |
parent | da3978c48e620c0a6a658e81fecde49189cdf5f6 (diff) |
Enable promise/catch-or-return allowFinally (#14289)
-rw-r--r-- | .eslintrc.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/.eslintrc.js b/.eslintrc.js index 177496d3a..7dda01108 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -199,6 +199,11 @@ module.exports = { 'import/no-unresolved': 'error', 'import/no-webpack-loader-syntax': 'error', - 'promise/catch-or-return': 'error', + 'promise/catch-or-return': [ + 'error', + { + allowFinally: true, + }, + ], }, }; |