Skip to content
You are viewing the v1 archive. For current setup guidance, use the v3 docs; the v2 release is preserved at /v2/.

Svelte

Package: @santi020k/eslint-config-svelte

Use the Svelte package for Svelte applications that need explicit framework linting on top of the shared base and TypeScript support.

pnpm
pnpm add -D @santi020k/eslint-config-svelte
npm
npm install -D @santi020k/eslint-config-svelte
yarn
yarn add -D @santi020k/eslint-config-svelte
bun
bun add -d @santi020k/eslint-config-svelte
import { eslintConfig } from '@santi020k/eslint-config-basic'
import svelte from '@santi020k/eslint-config-svelte'
export default eslintConfig({
frameworks: {
svelte
},
typescript: true
})
  • Svelte-specific framework rules through an isolated package.
  • Clean composition with the main package and TypeScript support.
  • Better compatibility with real Svelte projects through the shared playground strategy.
  • Svelte projects often also enable typescript: true.
  • Virtual-file behavior is handled in coordination with the TypeScript package.

Did this page help?

One click helps us spot documentation that needs another pass. No personal data is sent.