Skip to content

Commit 01e37ef

Browse files
authored
Update no-array-reverse.js
1 parent ea72e6d commit 01e37ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rules/no-array-reverse.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ const create = context => {
4848
const fixMethodName = fixer => fixer.replaceText(reverseProperty, 'toReversed');
4949

5050
/*
51-
For `[...array].reverse()`, provide two suggestion, let user choose if the object can be unwrapped,
51+
For `[...array].reverse()`, provide two suggestions, let the user choose if the object can be unwrapped,
5252
otherwise only change `.reverse()` to `.toReversed()`
5353
*/
5454
if (isSpreadAndReverse) {

0 commit comments

Comments
 (0)