Skip to content

Commit 54ecbdc

Browse files
author
Simon Schick
committed
fixup! fixup! feat(rules): add jsx-props-no-spread-multi
1 parent 409705c commit 54ecbdc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/lib/rules/jsx-props-no-spread-multi.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@ const expectedError = { messageId: 'noMultiSpreading' };
3030

3131
ruleTester.run('jsx-props-no-spread-multi', rule, {
3232
valid: parsers.all([
33+
{
34+
code: `
35+
const a = {};
36+
<App {...a} />
37+
`,
38+
},
3339
{
3440
code: `
3541
const a = {};

0 commit comments

Comments
 (0)