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

TypeScript unsupported version by @typescript-eslint #245

Closed
Chris7ca opened this issue Aug 26, 2022 · 0 comments
Closed

TypeScript unsupported version by @typescript-eslint #245

Chris7ca opened this issue Aug 26, 2022 · 0 comments

Comments

@Chris7ca
Copy link

When the script lint is runned in a fresh installation this is the output

> users@0.0.1 lint
> eslint "{src,apps,libs,test}/**/*.ts" --fix

=============

WARNING: You are currently running a version of TypeScript which is not officially supported by @typescript-eslint/typescript-estree.

You may find that it works just fine, or you may not.

SUPPORTED TYPESCRIPT VERSIONS: >=3.3.1 <4.8.0

YOUR TYPESCRIPT VERSION: 4.8.2

Please only submit bug reports when using the officially supported version.

=============

/home/user/test/users/src/app.controller.ts
  1:10  warning  'Controller' is defined but never used     @typescript-eslint/no-unused-vars
  1:22  warning  'Get' is defined but never used            @typescript-eslint/no-unused-vars
  5:14  warning  'AppController' is defined but never used  @typescript-eslint/no-unused-vars

/home/user/test/users/src/app.module.ts
   1:10  warning  'Module' is defined but never used         @typescript-eslint/no-unused-vars
   2:10  warning  'AppController' is defined but never used  @typescript-eslint/no-unused-vars
   3:10  warning  'AppService' is defined but never used     @typescript-eslint/no-unused-vars
  10:14  warning  'AppModule' is defined but never used      @typescript-eslint/no-unused-vars

/home/user/test/users/src/app.service.ts
  1:10  warning  'Injectable' is defined but never used  @typescript-eslint/no-unused-vars
  4:14  warning  'AppService' is defined but never used  @typescript-eslint/no-unused-vars

✖ 9 problems (0 errors, 9 warnings)

Temporary solution: downgrade to stable version

$ npm i -D typescript@~4.7.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant