Skip to content

Commit

Permalink
Fix bug where eslint reported a false positive for the no-shadow rule…
Browse files Browse the repository at this point in the history
… when using Typescript.

For more, see typescript-eslint/typescript-eslint#2484
  • Loading branch information
mortnod committed Mar 23, 2021
1 parent 5d820a0 commit c711b08
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion typescript/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ module.exports = {
'ts': 'never',
'tsx': 'never'
}
]
],
"no-shadow": "off",
"@typescript-eslint/no-shadow": ["error"],
},
settings: {
'import/resolver': {
Expand Down

0 comments on commit c711b08

Please sign in to comment.