@jill64/eslint-config-svelte
🔹Pre-Defined ESLint Flat Config for Svelte
Installation
npm i -D @jill64/eslint-config-svelte
Usage
eslint.config.js
with TypeScript
import { svelteTsConfig } from '@jill64/eslint-config-svelte'
export default svelteTsConfig()
To add any configuration, configure as follows
import { svelteTsConfig } from '@jill64/eslint-config-svelte'
export default [
...svelteTsConfig()
]
with JavaScript
import { svelteConfig } from '@jill64/eslint-config-svelte'
export default [
...svelteConfig()
]
License
MIT