-
Notifications
You must be signed in to change notification settings - Fork 119
Description
Is your feature request related to a problem? Please describe.
I was looking for something like failOnError, like vite-plugin-eslint has: https://www.npmjs.com/package/vite-plugin-eslint#failonwarning
I presume I'd find that in the config options here, but I didn't see anything. https://vite-plugin-checker.netlify.app/configuration/config.html
Describe the solution you'd like
We want to have the vite build fail in our ci/cd pipeline, so that we don't have to add another step into the build process which will load in the dependencies to perform these checks.
Have I done performance tests? No. It would be worthwhile seeing how fast a build is with and without this plugin included/imported, maybe it's on the order of <1s or <10ms difference.. but if we can remove the vite-plugin-eslint package from our dependencies, that would make it worth it..
Regardless, it would be quite nice from a code maintainability perspective, we run these checks inside vite, and then we have our editor/vscode extensions. The checks fail the build in our pipeline.
Describe alternatives you've considered
No response
Additional context
No response
Validations
- Read the docs.
- Read the Contributing Guidelines.
- Check that there isn't already an issue that asks for the same feature to avoid creating a duplicate.