@witheslint/preset-svelte
✨ The svelte preset for witheslint.
Installation
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
Reference
import { defineConfig, presetSvelte } from 'witheslint'// import { defineConfig } from '@witheslint/core'// import { presetSvelte } from '@witheslint/preset-svelte'
export default defineConfig({ presets: [ presetSvelte(), // ...other presets ],})
See customization for more details.