Skip to content

Commit

Permalink
chore: update snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
chansuke committed Jun 9, 2024
1 parent 348c376 commit 71b7992
Showing 1 changed file with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ foo?.trimLeft();
```
invalid.js:1:5 lint/nursery/useTrimStartEnd FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

! Avoid using trimLeft and consider using trimStart instead.
! Use trimLeft instead of trimStart.

> 1foo.trimLeft();
^^^^^^^^
Expand All @@ -31,7 +31,7 @@ invalid.js:1:5 lint/nursery/useTrimStartEnd FIXABLE ━━━━━━━━

i trimLeft() is an alias for trimStart.

i Safe fix: Replace inconsistent string function trimLeft with trimStart.
i Safe fix: Replace trimLeft with trimStart.

1- foo.trimLeft();
1+ foo.trimStart();
Expand All @@ -44,7 +44,7 @@ invalid.js:1:5 lint/nursery/useTrimStartEnd FIXABLE ━━━━━━━━
```
invalid.js:2:5 lint/nursery/useTrimStartEnd FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
! Avoid using trimRight and consider using trimEnd instead.
! Use trimRight instead of trimEnd.
1 │ foo.trimLeft();
> 2 │ foo.trimRight();
Expand All @@ -54,7 +54,7 @@ invalid.js:2:5 lint/nursery/useTrimStartEnd FIXABLE ━━━━━━━━
i trimRight() is an alias for trimEnd.
i Safe fix: Replace inconsistent string function trimRight with trimEnd.
i Safe fix: Replace trimRight with trimEnd.
1 1 │ foo.trimLeft();
2 │ - foo.trimRight();
Expand All @@ -68,7 +68,7 @@ invalid.js:2:5 lint/nursery/useTrimStartEnd FIXABLE ━━━━━━━━
```
invalid.js:3:10 lint/nursery/useTrimStartEnd FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
! Avoid using trimRight and consider using trimEnd instead.
! Use trimRight instead of trimEnd.
1 │ foo.trimLeft();
2 │ foo.trimRight();
Expand All @@ -79,7 +79,7 @@ invalid.js:3:10 lint/nursery/useTrimStartEnd FIXABLE ━━━━━━━━
i trimRight() is an alias for trimEnd.
i Safe fix: Replace inconsistent string function trimRight with trimEnd.
i Safe fix: Replace trimRight with trimEnd.
1 1 │ foo.trimLeft();
2 2 │ foo.trimRight();
Expand All @@ -94,7 +94,7 @@ invalid.js:3:10 lint/nursery/useTrimStartEnd FIXABLE ━━━━━━━━
```
invalid.js:4:14 lint/nursery/useTrimStartEnd FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
! Avoid using trimRight and consider using trimEnd instead.
! Use trimRight instead of trimEnd.
2 │ foo.trimRight();
3 │ trimLeft.trimRight();
Expand All @@ -105,7 +105,7 @@ invalid.js:4:14 lint/nursery/useTrimStartEnd FIXABLE ━━━━━━━━
i trimRight() is an alias for trimEnd.
i Safe fix: Replace inconsistent string function trimRight with trimEnd.
i Safe fix: Replace trimRight with trimEnd.
2 2 │ foo.trimRight();
3 3 │ trimLeft.trimRight();
Expand All @@ -120,7 +120,7 @@ invalid.js:4:14 lint/nursery/useTrimStartEnd FIXABLE ━━━━━━━━
```
invalid.js:5:7 lint/nursery/useTrimStartEnd FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
! Avoid using trimLeft and consider using trimStart instead.
! Use trimLeft instead of trimStart.
3 │ trimLeft.trimRight();
4 │ foo.trimLeft.trimRight();
Expand All @@ -131,7 +131,7 @@ invalid.js:5:7 lint/nursery/useTrimStartEnd FIXABLE ━━━━━━━━
i trimLeft() is an alias for trimStart.
i Safe fix: Replace inconsistent string function trimLeft with trimStart.
i Safe fix: Replace trimLeft with trimStart.
3 3 │ trimLeft.trimRight();
4 4 │ foo.trimLeft.trimRight();
Expand All @@ -146,7 +146,7 @@ invalid.js:5:7 lint/nursery/useTrimStartEnd FIXABLE ━━━━━━━━
```
invalid.js:8:3 lint/nursery/useTrimStartEnd FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
! Avoid using trimRight and consider using trimEnd instead.
! Use trimRight instead of trimEnd.
6 │ foo
7 │ // comment
Expand All @@ -157,7 +157,7 @@ invalid.js:8:3 lint/nursery/useTrimStartEnd FIXABLE ━━━━━━━━
i trimRight() is an alias for trimEnd.
i Safe fix: Replace inconsistent string function trimRight with trimEnd.
i Safe fix: Replace trimRight with trimEnd.
6 6 │ foo
7 7 │ // comment
Expand All @@ -172,7 +172,7 @@ invalid.js:8:3 lint/nursery/useTrimStartEnd FIXABLE ━━━━━━━━
```
invalid.js:11:6 lint/nursery/useTrimStartEnd FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
! Avoid using trimLeft and consider using trimStart instead.
! Use trimLeft instead of trimStart.
9 │ /* comment */
10 │ ();
Expand All @@ -182,7 +182,7 @@ invalid.js:11:6 lint/nursery/useTrimStartEnd FIXABLE ━━━━━━━━
i trimLeft() is an alias for trimStart.
i Safe fix: Replace inconsistent string function trimLeft with trimStart.
i Safe fix: Replace trimLeft with trimStart.
9 9 │ /* comment */
10 10 │ ();
Expand Down

0 comments on commit 71b7992

Please sign in to comment.