-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Open
Labels
accepting prsGo ahead, send a pull request that resolves this issueGo ahead, send a pull request that resolves this issuebugSomething isn't workingSomething isn't workingpackage: eslint-pluginIssues related to @typescript-eslint/eslint-pluginIssues related to @typescript-eslint/eslint-plugin
Description
Before You File a Bug Report Please Confirm You Have Done The Following...
- I have tried restarting my IDE and the issue persists.
- I have updated to the latest version of the packages.
- I have searched for related issues and found none that matched my issue.
- I have read the FAQ and my problem is not listed.
Issue Description
Oops! Something went wrong! :(
ESLint: 9.39.1
RangeError: Maximum call stack size exceeded
Occurred while linting /home/hab25/my/work/typescript-eslint-issue/index.mts:24
Rule: "@typescript-eslint/no-unsafe-type-assertion"
...
Reproduction Repository Link
https://github.com/hab25/typescript-eslint-issue
Repro Steps
pnpm install && pnpm exec tsc && pnpm exec eslint --fix index.mts --no-cache --color --debug --max-warnings=0 --stats -c eslint.config.mjsVersions
$ node --version
v22.19.0
$ pnpm --version
10.22.0
$ pnpm list
[...]
devDependencies:
eslint 9.39.1
remeda 2.32.0
type-fest 5.3.0
typescript 5.9.3
typescript-eslint 8.48.1
Metadata
Metadata
Assignees
Labels
accepting prsGo ahead, send a pull request that resolves this issueGo ahead, send a pull request that resolves this issuebugSomething isn't workingSomething isn't workingpackage: eslint-pluginIssues related to @typescript-eslint/eslint-pluginIssues related to @typescript-eslint/eslint-plugin