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