Svelte components: markup and script rules, HTML injection checks at both levels, and DOM and typing rules at level all. It requires javascript.
| Check |
Stage |
Level |
What it does |
svelte/svelte-check |
push |
recommended |
Runs svelte-check over the scope for compiler and accessibility warnings, and the types of every component and TypeScript file. |
gspot selects it in a scope with file extensions .svelte, or dependencies svelte.
| Setting |
Value |
tools.eslint.import_extension |
"extensionless" |
| Rule file |
Installed when |
.gspot/configurations/framework/svelte/rules/SVELTE.md |
Always |
| Tool |
Version |
| eslint-plugin-svelte |
3.23.0 |
| svelte-eslint-parser |
1.8.1 |
| svelte-check |
4.7.6 |
| prettier-plugin-svelte |
4.1.1 |