Commit 5a81953
authored
docs(linter): Add configuration option docs for jest/require-hook rule. (#14972)
Part of #14743.
Generated docs:
```md
## Configuration
This rule accepts a configuration object with the following properties:
### allowedFunctionCalls
type: `string[]`
default: `[]`
An array of function names that are allowed to be called outside of hooks.
```1 parent 1be268d commit 5a81953
1 file changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
26 | | - | |
| 27 | + | |
| 28 | + | |
27 | 29 | | |
| 30 | + | |
28 | 31 | | |
29 | 32 | | |
30 | 33 | | |
| |||
157 | 160 | | |
158 | 161 | | |
159 | 162 | | |
160 | | - | |
| 163 | + | |
| 164 | + | |
161 | 165 | | |
162 | 166 | | |
163 | 167 | | |
| |||
0 commit comments