Commit 54b2cb4
authored
docs(linter): Add configuration option docs for eslint/max-classes-per-file rule. (#15022)
Part of #14743.
Generated docs:
```md
## Configuration
This rule accepts a configuration object with the following properties:
### ignoreExpressions
type: `boolean`
default: `false`
Whether to ignore class expressions when counting classes.
### max
type: `integer`
default: `1`
The maximum number of classes allowed per file.
```1 parent b5acda7 commit 54b2cb4
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
19 | | - | |
| 20 | + | |
| 21 | + | |
20 | 22 | | |
| 23 | + | |
21 | 24 | | |
| 25 | + | |
22 | 26 | | |
23 | 27 | | |
24 | 28 | | |
| |||
65 | 69 | | |
66 | 70 | | |
67 | 71 | | |
| 72 | + | |
68 | 73 | | |
69 | 74 | | |
70 | 75 | | |
| |||
0 commit comments