Commit aade2fe
authored
docs(linter): Add configuration option docs for eslint/no-extra-boolean-cast rule. (#15019)
This was just missing the config definition in the macro.
Part of #14743.
Generated docs:
```md
## Configuration
This rule accepts a configuration object with the following properties:
### enforceForInnerExpressions
type: `boolean`
default: `false`
when set to `true`, in addition to checking default contexts, checks
whether extra boolean casts are present in expressions whose result is
used in a boolean context. See examples below. Default is `false`,
meaning that this rule by default does not warn about extra booleans
cast inside inner expressions.
```1 parent bae0c09 commit aade2fe
1 file changed
+2
-1
lines changedLines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
| 76 | + | |
76 | 77 | | |
77 | 78 | | |
78 | 79 | | |
| |||
0 commit comments