Enable promise/catch-or-return allowFinally (#14289)

lolsob-rspec
abcang 2020-07-12 06:51:22 +09:00 committed by GitHub
parent 2e1146c451
commit 987aa29930
1 changed files with 6 additions and 1 deletions

View File

@ -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,
},
],
},
};