Skip to content

Commit

Permalink
[eslint config] [base] [breaking] enable no-useless-catch
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Aug 10, 2019
1 parent 08f8093 commit d490ee1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/eslint-config-airbnb-base/rules/best-practices.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d490ee1

Please sign in to comment.