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