Template for a sveltejs project with VSCode prettier, eslint and cypress. Based on the official svelte template.
eslint-plugin-prettier
which invokes prettier from eslint. The issue appears to be that for .svelte
files prettier-plugin-svelte
gets passed only the javascript when it expects the entire component source. This breaks both VSCode and CLI use. See sveltejs/svelte#3550..editorconfig
settings as the prettier extension does. So had to duplicate some settings. See UnwrittenFun/svelte-vscode#74.