Skip to content

Commit

Permalink
Fix prefer-trim-start-end examples (#450)
Browse files Browse the repository at this point in the history
  • Loading branch information
fisker committed Nov 29, 2019
1 parent 364824b commit b99b9a9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/rules/prefer-trim-start-end.md
Expand Up @@ -7,13 +7,13 @@ This rule is fixable.
## Fail

```js
const foo = bar.trimStart();
const foo = bar.trimEnd();
const foo = bar.trimLeft();
const foo = bar.trimRight();
```

## Pass

```js
const foo = bar.trimLeft();
const foo = bar.trimRight();
const foo = bar.trimStart();
const foo = bar.trimEnd();
```

0 comments on commit b99b9a9

Please sign in to comment.