Skip to content
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

TS|TSX files are linted with useTypescriptIncrementalApi #396

Closed
theoomoregbee opened this issue Mar 2, 2020 · 1 comment
Closed

TS|TSX files are linted with useTypescriptIncrementalApi #396

theoomoregbee opened this issue Mar 2, 2020 · 1 comment
Labels

Comments

@theoomoregbee
Copy link

theoomoregbee commented Mar 2, 2020

My current config:

 new ForkTsCheckerWebpackPlugin({
  // useTypescriptIncrementalApi: false,
      async: false,
      eslint: true,
      ignoreLintWarnings: false,
    }),

created the variable without using it anywhere else

const me = 'something'

Actual output

[cI1f] /Users/theophy/dev/..../../Component.tsx 2.17 KiB {Page} [built]
+ 13 hidden modules

Expected output

[cI1f] /Users/theophy/dev/..../../Component.tsx 2.17 KiB {Page} [built]
+ 13 hidden modules
WARNING in /Users/theophy/dev/..../../Component.tsx
WARNING in /Users/theophy/dev/..../../Component.tsx(20,9):
@typescript-eslint/no-unused-vars: 'me' is assigned a value but never used.

Changing useTypescriptIncrementalApi to false works but is much slower.

related to #219

@piotr-oles
Copy link
Collaborator

@theoomoregbee
Please try fork-ts-checker-webpack-plugin@alpha - I've published a new version which should resolve this issue 🚀
I will close this issue to clean-up the backlog. If this release didn't solve the issue, we can re-open this :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants