Skip to content

Commit

Permalink
fix no-shadow false positive (#47)
Browse files Browse the repository at this point in the history
This should fix false positives of type 'Foo' is already declared in the upper scope on line 1 column
  • Loading branch information
gdostie authored Jun 30, 2022
1 parent 810e648 commit b462237
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions eslint-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,12 +161,8 @@ module.exports = {
'no-multiple-empty-lines': 'off',
'no-new-wrappers': 'error',
'no-redeclare': 'error',
'no-shadow': [
'error',
{
hoist: 'all',
},
],
'no-shadow': 'off',
'@typescript-eslint/no-shadow': ['error'],
'no-trailing-spaces': 'off',
'no-undef-init': 'error',
'no-underscore-dangle': 'error',
Expand Down

0 comments on commit b462237

Please sign in to comment.