We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5d218a commit b3ceb2bCopy full SHA for b3ceb2b
tests/utils/utils.ts
@@ -185,9 +185,7 @@ function writeFixtures(
185
const config = getConfig(ruleName, inputFile)
186
187
const parser =
188
- path.extname(inputFile) === ".svelte"
189
- ? require.resolve("svelte-eslint-parser")
190
- : undefined
+ path.extname(inputFile) === ".svelte" ? "svelte-eslint-parser" : undefined
191
const result = linter.verify(
192
config.code,
193
{
0 commit comments