Skip to content
Snippets Groups Projects
Unverified Commit bb9d4e27 authored by abcang's avatar abcang Committed by GitHub
Browse files

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

parent da3978c4
No related branches found
No related tags found
No related merge requests found
......@@ -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,
},
],
},
};
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment