Skip to content

@witheslint/preset-svelte

✨ The svelte preset for witheslint.

Installation

Terminal window
pnpm add -D eslint @witheslint/core @witheslint/preset-svelte

Reference

eslint.config.js
import { defineConfig } from '@witheslint/core'
import { presetSvelte } from '@witheslint/preset-svelte'
export default defineConfig({
presets: [
presetSvelte(),
// ...other presets
],
})

See customization for more details.