Eslint config for Svelte 4
Run npm i -D johbog/eslint-config-svelte
npm i -D johbog/eslint-config-svelte
Add the following to your package.json:
"eslintConfig": { "extends": "svelte" }
You could also create a .eslintrc.json config with:
{ "extends": "svelte" }