- Add explicit
debug
dependency - Change ESLint peer dependency range to
^8.45 || ^9
to match the changes made to support flat config in 2.0.2
- Support ESLint flat config (fixes #23)
- Support passing a function to formatter
- Switch to ESM. This removes the CJS warning when using the plugin with Vite 5. A CJS wrapper is still provided but migrating to running Vite in ESM is encouraged
- Drop support for Vite 2 & 3 & node<18 (aligns with Vite 5)
- Add vite@5 to peer dependency range
- Fix error when using
errorOnUnmatchedPattern: false
- Update plugin name from
eslint
tovite-plugin-eslint
to avoid confusion in case of errors reported by Vite
- Support async formatters (#17)
- Add
.svelte
to default shouldLint regex
Add vite@4 to peer dependency range
Add vite@3 to peer dependency range
- Update default shouldLint option to include
.vue
,.mjs
&.mts
files by default - Add debug log when a file is ignored by shouldLint (#7)
Pin chalk to v4 (#5)
Enable fix option (#3)
Handle file not found error
Move ESLint to a worker to improve performances