@witheslint/preset-astro
✨ The astro preset for witheslint.
Installation
pnpm add -D eslint witheslint# pnpm add -D eslint @witheslint/core @witheslint/preset-astro
yarn add -D eslint witheslint# yarn add -D eslint @witheslint/core @witheslint/preset-astro
npm install -D eslint witheslint# npm install -D eslint @witheslint/core @witheslint/preset-astro
Reference
import { defineConfig, presetAstro } from 'witheslint'// import { defineConfig } from '@witheslint/core'// import { presetAstro } from '@witheslint/preset-astro'
export default defineConfig({ presets: [ presetAstro(), // ...other presets ],})
See customization for more details.