docs: fix textlint hooks error

This commit is contained in:
Christopher Astfalk
2019-09-13 01:07:09 +02:00
parent 975e1e27cc
commit b2b39e6b8c
2 changed files with 5 additions and 3 deletions
+3 -1
View File
@@ -2,7 +2,9 @@
"filters": {},
"rules": {
"alex": {
"allow": []
"allow": [
"hooks"
]
},
"common-misspellings": true,
"rousseau": {
+2 -2
View File
@@ -1,5 +1,5 @@
# Hooks
This directory contains all kinds of [__react-hooks__](https://reactjs.org/docs/hooks-intro.html).
This directory contains all kinds of custom [__react-hooks__](https://reactjs.org/docs/hooks-intro.html).
They are allowed to access *state*, dispatch *actions* and more.
They can access *state*, dispatch *actions* and more. Using hooks *components* can also access the global state.