-
Notifications
You must be signed in to change notification settings - Fork 27.8k
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
Option to enable fork-ts-checker-webpack-plugin's ESLint support #7936
Comments
It would be great if this feature was considered together with #7687, which is getting some popularity despite being closed. |
I tried updating the options of the
⛔️ Does not work because the
⛔️ Does not work because it breaks the type error console log output which makes it useless. I am not sure why this is, but I guess it it has to do something with next setting compiler hooks on fork-ts-checker-webpack-plugin for logging, and replacing the instance somehow breaks this compiler hook. If I set |
We're not going to expose this variable as the fact that we use this package is an implementation detail. If you'd like to turn on ESLint support, please customize the webpack configuration (which isn't covered by semver). |
Fair point, thanks 👍 |
FYI we are planning an ESLint integration soon! |
@Timer do you mind sharing some update about this? 😳 |
This issue has been automatically locked due to no recent activity. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you. |
Feature request
Is your feature request related to a problem? Please describe.
fork-ts-checker-webpack-plugin
just shipped an option to enable linting with ESLint, this could allow devs to see TypeScript errors as well as ESLint errors in the console in dev mode. It could also be used to fail on build.I agree this is a bit unconventional as Next.js is not really tight to ESLint, still it would be neat.
I could help implementing it if needed.
Describe the solution you'd like
Have an options in
next.config.js
to enablefork-ts-checker-webpack-plugin
eslint option.Describe alternatives you've considered
Call
fork-ts-checker-webpack-plugin
manually by modifying the Webpack configAdditional context
n/a
The text was updated successfully, but these errors were encountered: