Commit 008e67a
authored
docs(linter): Add configuration option docs for jest/no-large-snapshots rule. (#15079)
Part of #14743.
Generated docs:
```md
## Configuration
This rule accepts a configuration object with the following properties:
### allowedSnapshots
type: `Record<string, array>`
default: `{}`
A map of snapshot file paths to arrays of snapshot names that are allowed to exceed the size limit.
Snapshot names can be specified as regular expressions.
### inlineMaxSize
type: `integer`
default: `50`
Maximum number of lines allowed for inline snapshots.
### maxSize
type: `integer`
default: `50`
Maximum number of lines allowed for external snapshot files.
```1 parent 31daf79 commit 008e67a
1 file changed
+9
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
12 | 14 | | |
13 | 15 | | |
14 | 16 | | |
| |||
35 | 37 | | |
36 | 38 | | |
37 | 39 | | |
38 | | - | |
| 40 | + | |
| 41 | + | |
39 | 42 | | |
| 43 | + | |
40 | 44 | | |
| 45 | + | |
41 | 46 | | |
| 47 | + | |
| 48 | + | |
42 | 49 | | |
43 | 50 | | |
44 | 51 | | |
| |||
140 | 147 | | |
141 | 148 | | |
142 | 149 | | |
| 150 | + | |
143 | 151 | | |
144 | 152 | | |
145 | 153 | | |
| |||
0 commit comments