Skip to content

Commit 5d67f91

Browse files
committed
update denpence
1 parent 0e90fbb commit 5d67f91

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+20
-20
lines changed

.eslintrc.js

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
11
module.exports = {
22
'extends': [
3-
"eslint:recommended",
4-
"plugin:react/recommended"
3+
'eslint:recommended',
4+
'plugin:react/recommended'
5+
],
6+
'plugins': [
7+
'react-hooks'
58
],
69
'rules': {
710
'no-unused-vars': [2, {'vars': 'all', 'args': 'none'}],
811
'no-empty': [0],
912
'react/prop-types': [0],
1013
'react/no-unescaped-entities': [0],
14+
'react-hooks/rules-of-hooks': 'error',
1115
'no-useless-escape': [0],
1216
'no-control-regex': [0]
1317
},
@@ -26,7 +30,7 @@ module.exports = {
2630
'PR': true,
2731
'Mark': true
2832
},
29-
"parser": "babel-eslint",
33+
'parser': 'babel-eslint',
3034
'parserOptions': {
3135
'sourceType': 'module'
3236
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)