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

Cette révision appartient à :
abcang 2020-07-12 06:51:22 +09:00 révisé par GitHub
Parent da3978c48e
révision bb9d4e2776
Signature inconnue de Forgejo
ID de la clé GPG: 4AEE18F83AFDEB23
1 fichiers modifiés avec 6 ajouts et 1 suppressions

Voir le fichier

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