-
-
Notifications
You must be signed in to change notification settings - Fork 47
Open
Labels
bugSomething isn't workingSomething isn't working
Description
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 typescript@5.3.3 -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
- Follow the Code of Conduct.
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working