Skip to content

TS|TSX files are linted with useTypescriptIncrementalApi #396

@theoomoregbee

Description

@theoomoregbee

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions