Fix svelte linting in vscode

This commit is contained in:
hensm
2022-06-03 21:02:52 +01:00
parent 079adc2f68
commit 2496db38ff
3 changed files with 12 additions and 5 deletions

5
svelte.config.js Normal file
View File

@@ -0,0 +1,5 @@
// svelte-vscode seems to require a config for proper linting support
const sveltePreprocess = require("./ext/node_modules/svelte-preprocess");
module.exports = {
preprocess: sveltePreprocess()
};