mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-23 14:54:05 +00:00
allow empty block for catch
This commit is contained in:
parent
a22d0f6951
commit
362eabab8d
1 changed files with 3 additions and 0 deletions
|
@ -71,5 +71,8 @@ module.exports = {
|
|||
"eol-last": ["error", "always"],
|
||||
//'prefer-template': 'error',
|
||||
"comma-dangle": ["warn", "only-multiline"],
|
||||
"no-empty": ["error", {
|
||||
"allowEmptyCatch": true
|
||||
}],
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue