Commit 69babde
authored
docs(linter): Add configuration option docs for unicorn/no-array-reduce rule. (#15142)
Part of #14743.
Generated docs:
```md
## Configuration
This rule accepts a configuration object with the following properties:
### allowSimpleOperations
type: `boolean`
default: `true`
When set to `true`, allows simple operations (like summing numbers) in `reduce` and `reduceRight` calls.
```1 parent 2c40ad8 commit 69babde
1 file changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
22 | | - | |
| 23 | + | |
| 24 | + | |
23 | 25 | | |
| 26 | + | |
24 | 27 | | |
25 | 28 | | |
26 | 29 | | |
| |||
50 | 53 | | |
51 | 54 | | |
52 | 55 | | |
53 | | - | |
| 56 | + | |
| 57 | + | |
54 | 58 | | |
55 | 59 | | |
56 | 60 | | |
| |||
0 commit comments