Getting Started
Use WithESLint to make managing ESLint configurations for your project easier. This guide will assist you in getting started with your project.
Installation
pnpm add -D eslint witheslint
yarn add -D eslint witheslint
npm install -D eslint witheslint
Configuration
- Create ESLint configuration file
eslint.config.js
import { defineConfig } from 'witheslint'
export default defineConfig()
module.exports = (async () => { const { defineConfig } = await import('witheslint') return defineConfig()})()
Note that
.eslintignore
no longer works in Flat config, see customization for more details.