Skip to content
This repository was archived by the owner on Jan 1, 2023. It is now read-only.

Commit 0c57c91

Browse files
committed
🎨 (example) update exmaple
1 parent f3118b7 commit 0c57c91

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

example/input.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ const inValid2 = {
3131
};
3232

3333
const inValid3 = { ...data, foo: 'foo' };
34+
const inValid4 = { bar: data, foo: 'foo' };
3435

35-
const inValid4 = { foo: 'fo\"o' }
36-
const inValid5 = { foo: 'fo"o' }
36+
const inValid5 = { foo: 'fo\"o' }
37+
const inValid6 = { foo: 'fo"o' }

example/output.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,12 @@ const inValid3 = { ...data,
2828
foo: 'foo'
2929
};
3030
const inValid4 = {
31-
foo: 'fo\"o'
31+
bar: data,
32+
foo: 'foo'
3233
};
3334
const inValid5 = {
35+
foo: 'fo\"o'
36+
};
37+
const inValid6 = {
3438
foo: 'fo"o'
3539
};

0 commit comments

Comments
 (0)