Skip to content

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

@SeungrokYoon

Description

@SeungrokYoon

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions