You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs(linter): Add configuration option docs for unicorn/no-array-reverse rule. (#15143)
Part of #14743.
Generated docs:
```md
## Configuration
This rule accepts a configuration object with the following properties:
### allowExpressionStatement
type: `boolean`
default: `true`
This rule allow `array.reverse()` as an expression statement by default.
Set to `false` to forbid `Array#reverse()` even if it's an expression statement.
Examples of **incorrect** code for this rule with this option set to `false`:
\```js
array.reverse();
\```
```
---------
Signed-off-by: Connor Shea <[email protected]>
Co-authored-by: Copilot <[email protected]>
0 commit comments