Eslint config for Svelte 3 & 4. This is now part of yeslint!.
npm i -D johbog/eslint-config-svelte3
Add the following to your package.json:
"eslintConfig": {
"extends": "svelte3"
}
or create a .eslintrc.json config with:
{
"extends": "svelte3"
}