mirror of
https://github.com/airbnb/javascript.git
synced 2026-04-25 03:00:19 -04:00
[eslint config] [base] [breaking] enable no-useless-catch
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user