Skip to content

Commit 71585a7

Browse files
authored
Merge pull request #19 from CodinGame/fix-ts-eslint-config
Fix ts eslint config
2 parents f5bd56b + 1b43feb commit 71585a7

File tree

4 files changed

+123
-115
lines changed

4 files changed

+123
-115
lines changed

.eslintrc.js

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,7 @@ module.exports = {
44
es6: true
55
},
66
extends: [
7-
'@codingame', 'standard-jsx'
8-
],
9-
parserOptions: {
10-
ecmaFeatures: {
11-
jsx: true
12-
}
13-
},
14-
plugins: [
15-
'react',
16-
'react-hooks'
17-
],
18-
rules: {
19-
'react-hooks/exhaustive-deps': 'error',
20-
'react-hooks/rules-of-hooks': 'error'
21-
}
7+
'@codingame/eslint-config',
8+
'@codingame/eslint-config-react'
9+
]
2210
}

0 commit comments

Comments
 (0)