Skip to content

Commit

Permalink
chore: format
Browse files Browse the repository at this point in the history
  • Loading branch information
krist7599555 committed Oct 10, 2023
1 parent 31a2804 commit 092a6dd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion worker.js
Expand Up @@ -112,7 +112,10 @@ runAsWorker(
// it could be processed by `@ota-meshi/eslint-plugin-svelte`, `eslint-plugin-svelte` or `eslint-plugin-svelte3`
case 'svelte': {
// The `source` would be modified by `eslint-plugin-svelte3`
if (typeof parserPath === "string" && !parserPath.includes('svelte-eslint-parser')) {
if (
typeof parserPath === 'string' &&
!parserPath.includes('svelte-eslint-parser')
) {
// We do not support `eslint-plugin-svelte3`,
// the users should run `prettier` on `.svelte` files manually
return;
Expand Down

0 comments on commit 092a6dd

Please sign in to comment.