Commit 1be268d
authored
docs(linter): Add configuration option docs for jest/require-top-level-describe rule. (#14973)
These already existed, but this ensures they're done via the
documentation auto-generation tooling.
Part of #14743.
Generated docs:
```md
## Configuration
This rule accepts a configuration object with the following properties:
### maxNumberOfTopLevelDescribes
type: `integer`
default: `18446744073709551615`
The maximum number of top-level `describe` blocks allowed in a test file.
```
This one is a bit weird in that the default is the MAX usize value, but
that's probably fine to expose?1 parent 860a58c commit 1be268d
File tree
1 file changed
+5
-17
lines changed- crates/oxc_linter/src/rules/jest
1 file changed
+5
-17
lines changedLines changed: 5 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
37 | | - | |
| 38 | + | |
| 39 | + | |
38 | 40 | | |
| 41 | + | |
39 | 42 | | |
40 | 43 | | |
41 | 44 | | |
| |||
96 | 99 | | |
97 | 100 | | |
98 | 101 | | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | 102 | | |
116 | 103 | | |
117 | 104 | | |
| 105 | + | |
118 | 106 | | |
119 | 107 | | |
120 | 108 | | |
| |||
0 commit comments