diff --git a/.eslintrc.json b/.eslintrc.json index 5c3b47f..c5033c6 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,7 +1,7 @@ { "root": true, "parser": "@typescript-eslint/parser", - "plugins": ["@typescript-eslint", "svelte3"], + "plugins": ["svelte3", "@typescript-eslint"], "extends": ["eslint:recommended", "prettier"], "rules": { "no-useless-escape": "off", diff --git a/svelte.config.js b/ext/svelte.config.js similarity index 63% rename from svelte.config.js rename to ext/svelte.config.js index f8101c9..aa45659 100644 --- a/svelte.config.js +++ b/ext/svelte.config.js @@ -1,5 +1,5 @@ // svelte-vscode seems to require a config for proper linting support -const sveltePreprocess = require("./ext/node_modules/svelte-preprocess"); +const sveltePreprocess = require("svelte-preprocess"); module.exports = { preprocess: sveltePreprocess() };