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.
Install
Section titled “Install”pnpm add -D @santi020k/eslint-config-sveltenpm install -D @santi020k/eslint-config-svelteyarn add -D @santi020k/eslint-config-sveltebun add -d @santi020k/eslint-config-svelteConfigure
Section titled “Configure”import { eslintConfig } from '@santi020k/eslint-config-basic'import svelte from '@santi020k/eslint-config-svelte'
export default eslintConfig({ frameworks: { svelte }, typescript: true})What It Adds
Section titled “What It Adds”- 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.
Repository Links
Section titled “Repository Links”- Source Package: packages/svelte
- Playground: packages/playground/svelte
Related Pages
Section titled “Related Pages”Did this page help?
One click helps us spot documentation that needs another pass. No personal data is sent.