✨ The svelte preset for witheslint.
pnpm add -D eslint @witheslint/core @witheslint/preset-svelte
yarn add -D eslint @witheslint/core @witheslint/preset-svelte
npm install -D eslint @witheslint/core @witheslint/preset-svelte
import { defineConfig } from '@witheslint/core'import { presetSvelte } from '@witheslint/preset-svelte' export default defineConfig({ presets: [ presetSvelte(), // ...other presets ],})
module.exports = (async () => { const { defineConfig } = await import('@witheslint/core') const { presetSvelte } = await import('@witheslint/preset-svelte') return defineConfig({ presets: [ presetSvelte(), // ...other presets ], })})()
See customization for more details.