1
0
mirror of https://github.com/louislam/uptime-kuma.git synced 2024-12-24 22:14:47 +02:00

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