Skip to content

Commit d6c70c8

Browse files
authored
reduce lint to warning (#296)
1 parent 814bfc0 commit d6c70c8

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

package.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"build": "tsdx build",
1616
"test:tsdx": "tsdx test",
1717
"test": "firebase emulators:exec --only firestore,database,auth --project rxfire-525a3 \"tsdx test --detectOpenHandles --forceExit\"",
18-
"lint": "tsdx lint",
18+
"lint": "tsdx lint src test",
1919
"prepare": "tsdx build",
2020
"size": "size-limit",
2121
"analyze": "size-limit --why",
@@ -27,7 +27,12 @@
2727
},
2828
"husky": {
2929
"hooks": {
30-
"pre-commit": "tsdx lint"
30+
"pre-commit": "yarn lint"
31+
}
32+
},
33+
"eslint": {
34+
"rules": {
35+
"react-hooks/rules-of-hooks": "warn"
3136
}
3237
},
3338
"prettier": {

0 commit comments

Comments
 (0)