[eslint config] [base] [breaking] enable no-useless-catch

This commit is contained in:
Jordan Harband
2019-08-09 22:45:49 -07:00
parent 08f8093ed1
commit d490ee1806

View File

@@ -282,8 +282,7 @@ module.exports = {
// Disallow unnecessary catch clauses
// https://eslint.org/docs/rules/no-useless-catch
// TODO: enable, semver-major
'no-useless-catch': 'off',
'no-useless-catch': 'error',
// disallow useless string concatenation
// https://eslint.org/docs/rules/no-useless-concat