New issue
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
eslint reports errors from files excluded from tsconfig.json - reproducing in 6.2, didn't happen in 5.x #580
Comments
In addition, files excluded from tsconfig.json will not trigger a recheck, so you can't get rid of these errors by fixing them either. |
Either eslint configuration should now support stuff like includes/excludes, or it should inherit it from tsconfig |
Hi! |
@piotr-oles Is it a bug that your plugin does not recheck the files that eslint found errors in? I think the best approach would be to not let users control the |
Oh, I missed the part that it's not possible to fix these errors. This is a bug, but the source is different - eslint should add these files to the compilation dependency for webpack to watch them. |
🎉 This issue has been resolved in version 6.2.6 🎉 The release is available on: Your semantic-release bot 📦🚀 |
🎉 This issue has been resolved in version 7.0.0-alpha.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Current behavior
In version 6.2.0: ESLint will report errors from files that are excluded in tsconfig.json
Expected behavior
In version 5.2.0: ESLint does NOT report errors from files that are excluded in tsconfig.json
Steps to reproduce the issue
npm run dev
, then change fork-ts-checker-webpack-plugin version from 6.2 to 5.2 to see it fixedIssue reproduction repository
https://github.com/grumd/fork-ts-checker-webpack-plugin-issue
Screenshots:
There doesn't seem to be an option to exclude files in plugin's eslint configuration, and 5.x versions worked differently from now, seems like a regression bug.
The text was updated successfully, but these errors were encountered: