Skip to content

Commit 9d15121

Browse files
authored
style: write the valid snippet without an object
1 parent abbb70c commit 9d15121

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/lib/rules/no-global-regexp-flag-in-query.test.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,7 @@ ruleTester.run(RULE_NAME, rule, {
8080
`,
8181

8282
// issue #565
83-
{
84-
code: `
83+
`
8584
import { screen } from "@testing-library/react"
8685
8786
describe("App", () => {
@@ -90,7 +89,6 @@ ruleTester.run(RULE_NAME, rule, {
9089
})
9190
})
9291
`,
93-
},
9492
],
9593
invalid: [
9694
{

0 commit comments

Comments
 (0)