Skip to content

Commit 6073216

Browse files
committed
chore: extends eslint-plugin-react-hooks
1 parent 952473b commit 6073216

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.eslintrc.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ module.exports = {
33
extends: [
44
'eslint:recommended',
55
'plugin:react/recommended',
6+
'plugin:react-hooks/recommended',
67
'plugin:@typescript-eslint/recommended',
78
],
89
env: {
@@ -11,6 +12,8 @@ module.exports = {
1112
jest: true,
1213
},
1314
plugins: [
15+
'react',
16+
"react-hooks",
1417
'jest',
1518
'jest-dom',
1619
],
@@ -46,7 +49,7 @@ module.exports = {
4649
'no-unused-vars': [
4750
1,
4851
],
49-
"@typescript-eslint/ban-ts-comment": "off"
52+
'@typescript-eslint/ban-ts-comment': 'off',
5053
},
5154
settings: {
5255
react: {

0 commit comments

Comments
 (0)