Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinNuc committed Aug 18, 2023
1 parent 2e61da7 commit 15a8e3d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/must-colocate-fragment-spreads.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const RuleTester = eslint.RuleTester;

const ruleTester = new RuleTester({
parser: require.resolve('babel-eslint'),
parserOptions: { ecmaVersion: 6, sourceType: 'module' }
parserOptions: {ecmaVersion: 6, sourceType: 'module'}
});

function unusedFieldsWarning(fragment) {
Expand Down Expand Up @@ -47,7 +47,7 @@ ruleTester.run(
...component_fragment
}\`;
`,
options: [{ allowNamedImports: true }]
options: [{allowNamedImports: true}]
},
`
const Component = require('../shared/component.js');
Expand Down Expand Up @@ -138,7 +138,7 @@ ruleTester.run(
...component_fragment
}\`;
`,
options: [{ allowNamedImports: true }],
options: [{allowNamedImports: true}],
errors: [
{
message: unusedFieldsWarning('component_fragment'),
Expand All @@ -153,7 +153,7 @@ ruleTester.run(
...component_fragment
}\`;
`,
options: [{ allowNamedImports: false }],
options: [{allowNamedImports: false}],
errors: [
{
message: unusedFieldsWarning('component_fragment'),
Expand Down

0 comments on commit 15a8e3d

Please sign in to comment.