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

[Question] typescript-eslint does not support typescript version 5.6.2 #44

Open
4 tasks done
SeungrokYoon opened this issue Sep 27, 2024 · 0 comments
Open
4 tasks done
Labels
bug Something isn't working

Comments

@SeungrokYoon
Copy link

SeungrokYoon commented Sep 27, 2024

Describe the bug

Hi, first of all really thank you for sharing quick-start with electron-vite. It is awesome!

By the way, I come across with a warning regarding typescript. Actually it is not a bug but kind of a question related to your project.

Situation

(base) ➜  electron-vite-boilerplate git:(main) DEBUG=typescript-eslint:* yarn lint
yarn run v1.22.21
$ eslint . --ext .js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --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: >=4.7.4 <5.6.0

YOUR TYPESCRIPT VERSION: 5.6.2

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

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

Reproduction

yarn create @quick-start/electron my-app --template react-ts

Run lint script

yarn lint

In package.json, "typescript": "^5.5.2". However, the installed typescript version is 5.6.2.

Attempts to fix the problem

Install lower version of typescript.

 yarn add [email protected] -D

After attempts

No more warnings occur.

Remaining Question

I know there is a eslint-typescript version policy TypeScript version policy

However, I wonder why version 5.6.2 version was being used. Is there any knowledge that I currently miss to fully understand the situation?

I am quite a new to web-dev so please be generous even if my question sounds so basic.

Thank you and have a nice day!

Used Scaffolding

create-electron

Used Package Manager

yarn

Validations

@SeungrokYoon SeungrokYoon added the bug Something isn't working label Sep 27, 2024
@SeungrokYoon SeungrokYoon changed the title [Question] typescript-eslint does not support typescript version ^5.5.2 [Question] typescript-eslint does not support typescript version ^5.6.2 Sep 27, 2024
@SeungrokYoon SeungrokYoon changed the title [Question] typescript-eslint does not support typescript version ^5.6.2 [Question] typescript-eslint does not support typescript version 5.6.2 Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant