Added react-hooks rules
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
parent
58e080f2e7
commit
f6868cf9b6
@ -1,4 +1,4 @@
|
||||
# React Hooks
|
||||
|
||||
- [ ] "exhaustive-deps"
|
||||
- [ ] "rules-of-hooks"
|
||||
- [X] "exhaustive-deps"
|
||||
- [X] "rules-of-hooks"
|
||||
|
@ -1 +1,8 @@
|
||||
{}
|
||||
{
|
||||
"react-hooks/exhaustive-deps": [
|
||||
"warn"
|
||||
],
|
||||
"react-hooks/rules-of-hooks": [
|
||||
"error"
|
||||
]
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user