# svelte

> Svelte components: markup and script rules, HTML injection checks at both levels, and DOM and typing rules at level all.

Svelte components: markup and script rules, HTML injection checks at both levels, and DOM and typing rules at level all. It requires [`javascript`](/reference/configurations/javascript/).

## Checks

| Check                                                           | Stage  | Level         | What it does                                                                                                                    |
| --------------------------------------------------------------- | ------ | ------------- | ------------------------------------------------------------------------------------------------------------------------------- |
| [`svelte/svelte-check`](/reference/checks/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. |

## Selected when

gspot selects it in a scope with file extensions `.svelte`, or dependencies `svelte`.

## Defaults set for other configurations

| Setting                         | Value             |
| ------------------------------- | ----------------- |
| `tools.eslint.import_extension` | `"extensionless"` |

## Rules for coding agents

| Rule file                                                | Installed when |
| -------------------------------------------------------- | -------------- |
| `.gspot/configurations/framework/svelte/rules/SVELTE.md` | Always         |

## Tools and versions

| 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`  |
