diff --git a/worker.js b/worker.js index d29fa26c..d4cadc05 100644 --- a/worker.js +++ b/worker.js @@ -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;