Skip to content

Commit 68a3db2

Browse files
committed
update snapshot
1 parent b7a0f17 commit 68a3db2

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

Diff for: packages/eslint-plugin/docs/rules/no-base-to-string.mdx

+4-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,10 @@ String(/regex/);
101101
{/* insert option description */}
102102

103103
```ts option='{ "checkArrayJoin": true }' showPlaygroundButton
104-
[{}, {}].join();
104+
[{}, 'string'].join();
105+
106+
const array = ['string', {}];
107+
array.join('');
105108
```
106109

107110
## When Not To Use It

Diff for: packages/eslint-plugin/tests/docs-eslint-output-snapshots/no-base-to-string.shot

+6-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)