Skip to content

Commit

Permalink
feat(eslint): use err as catch argument
Browse files Browse the repository at this point in the history
  • Loading branch information
DrJume committed Jun 28, 2024
1 parent 1bba6be commit d98b308
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/eslint-config/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ export function eslintConfig({ nuxt = false, tsconfigPath, unicorn = false, conf
'unicorn/no-null': 'off',
'unicorn/no-array-callback-reference': 'off',
'unicorn/prefer-ternary': 'off',
'unicorn/catch-error-name': ['error', { name: 'err' }],
},
},
{
Expand Down

0 comments on commit d98b308

Please sign in to comment.