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