Skip to content

Commit bb9d4e2

Browse files
authored
Enable promise/catch-or-return allowFinally (#14289)
1 parent da3978c commit bb9d4e2

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.eslintrc.js

+6-1
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,11 @@ module.exports = {
199199
'import/no-unresolved': 'error',
200200
'import/no-webpack-loader-syntax': 'error',
201201

202-
'promise/catch-or-return': 'error',
202+
'promise/catch-or-return': [
203+
'error',
204+
{
205+
allowFinally: true,
206+
},
207+
],
203208
},
204209
};

0 commit comments

Comments
 (0)