Skip to content

Commit

Permalink
prefer-includes: Drop duplicated line in docs (#2548)
Browse files Browse the repository at this point in the history
  • Loading branch information
anna-liepina authored Feb 2, 2025
1 parent 8f00f76 commit 4a677c6
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions docs/rules/prefer-includes.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@ This rule is fixable, unless the search expression in `Array#some()` has side ef
array.indexOf('foo') !== -1;
```

```js
array.indexOf('foo') !== -1;
```

```js
string.lastIndexOf('foo') !== -1;
```
Expand Down

0 comments on commit 4a677c6

Please sign in to comment.