Skip to content

Commit

Permalink
fix: don't rely on semver for typescript version
Browse files Browse the repository at this point in the history
```
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.
```
  • Loading branch information
Pawel Peregud committed Aug 23, 2023
1 parent bfda4a0 commit b301cd9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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:
[email protected]:
version "5.0.2"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.0.2.tgz#891e1a90c5189d8506af64b9ef929fca99ba1ee5"
integrity sha512-wVORMBGO/FAs/++blGNeAVdbNKtIh1rbBL2EyQ1+J9lClJ93KiiKe8PmFIVdXhHcyv44SL9oglmfeSsndo0jRw==
Expand Down

0 comments on commit b301cd9

Please sign in to comment.