Skip to content

Commit 18e237b

Browse files
TildaDaresljharb
andauthored
Update tests/lib/rules/jsx-no-literals.js
Co-authored-by: Jordan Harband <[email protected]>
1 parent 0ba45d6 commit 18e237b

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

tests/lib/rules/jsx-no-literals.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -634,9 +634,11 @@ ruleTester.run('jsx-no-literals', rule, {
634634
],
635635
},
636636
{
637-
code: `export const WithAttributesAndChildren = ({}) => (
638-
<div title="foo bar">baz bob</div>
639-
);`,
637+
code: `
638+
export const WithAttributesAndChildren = ({}) => (
639+
<div title="foo bar">baz bob</div>
640+
);
641+
`,
640642
options: [{ noAttributeStrings: true }],
641643
errors: [
642644
{

0 commit comments

Comments
 (0)