We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When using multiple checkers a build does not fail if errors are reported within a particular checker.
export default defineConfig({ plugins: [ checker({ typescript: true, eslint: { lintCommand: 'eslint "./src/**/*.{ts,tsx}"', }, }) ], });
Create an ESLint error in your application. Ensure there are no TS errors, only an ESLint error.
Build your application
The build should fail however, it succeeds.
System: OS: Windows 10 10.0.22621 CPU: (16) x64 Intel(R) Core(TM) i9-10885H CPU @ 2.40GHz Memory: 44.77 GB / 63.75 GB Binaries: Node: 18.18.2 - C:\nodejs\node.EXE Yarn: 1.22.21 - C:\nodejs\yarn.CMD npm: 10.2.4 - C:\nodejs\npm.CMD pnpm: 8.12.0 - C:\nodejs\pnpm.CMD Browsers: Edge: Chromium (120.0.2210.61) Internet Explorer: 11.0.22621.1
If you set the checker config typescript to false, the plugin will work as expected and cancel the build due to ESLint issues.
The issue is that multiple error codes are not being honoured, they are being ignored and the build is succeeding.
The text was updated successfully, but these errors were encountered:
I have added a PR showing the offending code and a potential solution. #288
Sorry, something went wrong.
We are also facing this issue.
No branches or pull requests
Describe the bug
When using multiple checkers a build does not fail if errors are reported within a particular checker.
Reproduction
Create an ESLint error in your application. Ensure there are no TS errors, only an ESLint error.
Build your application
Expected behavior
The build should fail however, it succeeds.
System Info
Additional context
If you set the checker config typescript to false, the plugin will work as expected and cancel the build due to ESLint issues.
The issue is that multiple error codes are not being honoured, they are being ignored and the build is succeeding.
Validations
The text was updated successfully, but these errors were encountered: