Skip to content

Commit

Permalink
Update tests/lib/rules/jsx-no-literals.js
Browse files Browse the repository at this point in the history
Co-authored-by: Jordan Harband <ljharb@gmail.com>
  • Loading branch information
TildaDares and ljharb committed Jul 1, 2022
1 parent 0ba45d6 commit 18e237b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions tests/lib/rules/jsx-no-literals.js
Expand Up @@ -634,9 +634,11 @@ ruleTester.run('jsx-no-literals', rule, {
],
},
{
code: `export const WithAttributesAndChildren = ({}) => (
<div title="foo bar">baz bob</div>
);`,
code: `
export const WithAttributesAndChildren = ({}) => (
<div title="foo bar">baz bob</div>
);
`,
options: [{ noAttributeStrings: true }],
errors: [
{
Expand Down

0 comments on commit 18e237b

Please sign in to comment.