We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 111168e commit 437d2d8Copy full SHA for 437d2d8
docs/rules/no-array-reverse.md
@@ -36,7 +36,7 @@ Pass `allowExpressionStatement: false` to forbid `Array#reverse()` even if it's
36
#### Fail
37
38
```js
39
-// eslint unicorn/no-array-reverse: ["error", {"allowExpressionStatement": true}]
+// eslint unicorn/no-array-reverse: ["error", {"allowExpressionStatement": false}]
40
array.reverse();
41
```
42
docs/rules/no-array-sort.md
@@ -44,7 +44,7 @@ Pass `allowExpressionStatement: false` to forbid `Array#sort()` even if it's an
44
45
46
47
-// eslint unicorn/no-array-sort: ["error", {"allowExpressionStatement": true}]
+// eslint unicorn/no-array-sort: ["error", {"allowExpressionStatement": false}]
48
array.sort();
49
50
0 commit comments