From b301cd92b7f6946959a841f721b59a3bfcb6d182 Mon Sep 17 00:00:00 2001 From: Pawel Peregud Date: Fri, 4 Aug 2023 12:26:40 +0200 Subject: [PATCH] fix: don't rely on semver for typescript version ``` yarn run v1.22.19 $ eslint './**/*.{js,jsx,ts,tsx}' ============= 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 <5.1.0 YOUR TYPESCRIPT VERSION: 5.1.6 Please only submit bug reports when using the officially supported version. ``` --- package.json | 2 +- yarn.lock | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index d99fabc17e..cd6550eb2b 100644 --- a/package.json +++ b/package.json @@ -43,6 +43,6 @@ "eslint-plugin-typescript-sort-keys": "^2.1.0", "husky": "^8.0.3", "lint-staged": "^13.1.0", - "typescript": "^5.0.2" + "typescript": "5.0.2" } } diff --git a/yarn.lock b/yarn.lock index 122b478302..2b546a1595 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2047,7 +2047,7 @@ typed-array-length@^1.0.4: for-each "^0.3.3" is-typed-array "^1.1.9" -typescript@^5.0.2: +typescript@5.0.2: version "5.0.2" resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.0.2.tgz#891e1a90c5189d8506af64b9ef929fca99ba1ee5" integrity sha512-wVORMBGO/FAs/++blGNeAVdbNKtIh1rbBL2EyQ1+J9lClJ93KiiKe8PmFIVdXhHcyv44SL9oglmfeSsndo0jRw==