I am preparing v4 and I want your opinions and suggestions.
Async mode default
Maybe in v4, or in v5.
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.
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 .stylelintcache.
I am preparing v4 and I want your opinions and suggestions.
Async mode default
Maybe in v4, or in v5.
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.stylelintcache
.Support vite@4
Done
See Vite 4 discussion. Support vite@3 if possible, but drop vite@2.
Support stylelint@15
Maybe in a minor version since stylelint@15 is not released
See stylelint preparing 15.0.0. Support stylelint@14 if possible, but drop stylelint@13.
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.