allow empty block for catch

pull/237/head
LouisLam 3 years ago
parent a22d0f6951
commit 362eabab8d

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

Loading…
Cancel
Save