Skip to content

Commit 9a4b033

Browse files
committed
Fix coding style
1 parent 4c0706b commit 9a4b033

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/lib/rules/no-danger-with-children.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ ruleTester.run('no-danger-with-children', rule, {
5757
code: [
5858
'const otherProps = { children: "Children" };',
5959
'const { a, b, ...props } = otherProps;',
60-
'<div {...props} />',
60+
'<div {...props} />'
6161
].join('\n'),
6262
parserOptions: parserOptions
6363
},
@@ -112,7 +112,7 @@ ruleTester.run('no-danger-with-children', rule, {
112112
{
113113
code: [
114114
'const props = { children: "Children", dangerouslySetInnerHTML: { __html: "HTML" } };',
115-
'<div {...props} />',
115+
'<div {...props} />'
116116
].join('\n'),
117117
errors: [{message: 'Only set one of `children` or `props.dangerouslySetInnerHTML`'}],
118118
parserOptions: parserOptions

0 commit comments

Comments
 (0)