electron-userland / electron-userland/electron-webpack
Cannot enable eslint with typescript parser
- Dominant language
- TypeScript
- Stars
- 902
- Forks
- 168
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
I'm trying to enable typescript and eslint at the same time.
I've installed both `electron-webpack-ts` and `electron-webpack-eslint` and my electron app still works, however it does not respect my eslint configuration.
Running `eslint --ext .js,.jsx,.ts,.tsx,.vue src` returns errors which should appear in the bundler but they don't.
I've narrowed it to the `fork-ts-checker-webpack-plugin` not passing `eslint: true` when eslint is enabled.
https://github.com/electron-userland/electron-webpack/blob/ca18b60daa172c8f0249f9bf4e89a2f76a1cbe44/packages/electron-webpack/src/configurators/ts.ts#L30-L42
Is this on purpose? If so, can we get a toggle to be able to do it without having to fork?
Thanks,
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.