Skip to content

Commit 23c5bd0

Browse files
committed
Silence more annoying lint rules
1 parent 0ebe0eb commit 23c5bd0

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.eslintrc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,10 @@
3737
"react/jsx-no-undef": 2,
3838
"react/jsx-wrap-multilines": 2,
3939
"react/no-string-refs": 0,
40-
// note you must disable the base rule as it can report incorrect errors
4140
"no-unused-vars": "off",
42-
"@typescript-eslint/no-unused-vars": ["error"]
41+
"@typescript-eslint/no-unused-vars": ["error"],
42+
"no-redeclare": "off",
43+
"@typescript-eslint/no-redeclare": ["error"]
4344
},
4445
"plugins": ["@typescript-eslint", "import", "react"],
4546
"globals": {

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ dist
33
lib
44
coverage
55
es
6+
temp/
7+
react-redux-*/
68

79
.cache
810
.yarnrc

0 commit comments

Comments
 (0)