Getting Started
Overview
vite-plugin-eslint2 runs ESLint inside Vite. It supports Vite v2 to v8 and ESLint v7 to v10.
The plugin needs Node.js 18 or newer. Each ESLint major has its own Node.js requirement. The table below lists them.
For Nuxt projects, use @nuxt/eslint.
You may also want the Vite Stylelint plugin.
Install
vite-plugin-eslint2 does not install or configure ESLint for you. Install the ESLint major you want and the types it needs.
ESLint 9.10.0 and newer ship their own types, so @types/eslint is only needed below that.
Usage
Acknowledge
Initially forked from gxmari007/vite-plugin-eslint.
Contributors
This project was created by ModyQyW.
Thanks to all contributors for their contributions!
Sponsors
If this package is helpful to you, please consider sponsoring. It keeps the project developed and maintained.