allow empty block for catch

This commit is contained in:
LouisLam 2021-08-21 19:45:29 +08:00
parent a22d0f6951
commit 362eabab8d

View file

@ -71,5 +71,8 @@ module.exports = {
"eol-last": ["error", "always"],
//'prefer-template': 'error',
"comma-dangle": ["warn", "only-multiline"],
"no-empty": ["error", {
"allowEmptyCatch": true
}],
},
}