I am preparing v3 and I want your opinions and suggestions.
Async mode default
Maybe in v3, or in v4.
This plugin lints files synchronously for now and slows down Vite a lot. Vite means quick in French but this plugin breaks the meaning.
I want to add async mode and make it the default mode. This can make the plugin faster, without slowing down Vite. However, the async mode will most likely no longer stop the serve or build process. Since errors and warnings can be found in the IDE while developing, I don't think this is a serious problem.
In the meantime, you may want vite-plugin-checker.
Apply during serve default
Done
This plugin is invoked for both serve and build for now. Since almost everyone uses this plugin during serve, it is meaningless to apply this plugin during build.
cacheLocation update
Done
To be more out of box, cacheLocation
defaults to .eslintcache
.
Support vite@4
Done
See Vite 4 discussion. Support vite@3 if possible, but drop vite@2.
Support eslint@9
Maybe in a minor version since eslint@9 is not released
See eslint discussion Complete rewrite of ESLint. Support eslint@8 and eslint@7 if possible.
Require node >= 14.18
Done
See Node.js realease schedule.
ESM default
Done
node >= 14.18 has full support for esm. Can remove esm bundle banner too.