Skip to content

Commit

Permalink
Re-enable the catch-error-name rule
Browse files Browse the repository at this point in the history
It was disabled because of #107, but in hindsight it doesn't make sense to disable it as it's not breaking, but just failing to pick up on some cases.
  • Loading branch information
sindresorhus committed Aug 23, 2018
1 parent 7a1f1a1 commit 341ee3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -17,7 +17,7 @@ module.exports = {
'unicorn'
],
rules: {
'unicorn/catch-error-name': ['off', {name: 'error'}],
'unicorn/catch-error-name': ['error', {name: 'error'}],
'unicorn/explicit-length-check': 'error',
'unicorn/filename-case': ['error', {case: 'kebabCase'}],
'unicorn/no-abusive-eslint-disable': 'error',
Expand Down

0 comments on commit 341ee3a

Please sign in to comment.