Skip to content

Commit 66748b4

Browse files
committed
Add no-shadow
Closes #19
1 parent b184590 commit 66748b4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

index.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,11 @@ module.exports = {
4949
"no-redeclare": "off",
5050
"@typescript-eslint/no-redeclare": ["error"],
5151

52+
// no-shadow - note you must disable the base rule as it can report incorrect errors
53+
// https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-shadow.md
54+
"no-shadow": "off",
55+
"@typescript-eslint/no-shadow": ["error"],
56+
5257
'@typescript-eslint/prefer-enum-initializers': 'error',
5358

5459
// no-array-constructor - note you must disable the base rule as it can report incorrect errors

0 commit comments

Comments
 (0)