-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed as not planned
Closed as not planned
Copy link
Labels
bugSomething isn't workingSomething isn't workingfix: user errorissue was fixed by correcting the configuration / correcting the codeissue was fixed by correcting the configuration / correcting the codelocked due to agePlease open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing.Please open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing.triageWaiting for team members to take a lookWaiting for team members to take a look
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
Same issue as: #10338, with Canary release
Eslint crashes when running on an empty .tsx file:
npm run lint
> web@0.1.0 lint
> next lint
Error while loading rule '@typescript-eslint/no-unused-expressions': Cannot read properties of undefined (reading 'allowShortCircuit')
Reproduction Repository Link
https://github.com/awesomepandapig/tslint-bug
Repro Steps
- clone the repo
- follow steps in readme
Versions
package | version |
---|---|
@typescript-eslint/parser |
8.14.1-alpha-6 |
TypeScript |
5.6.3 |
ESLint |
9.15.0 |
node |
22.11.0 |
darky, mgohin, c0state, noqcks, dargmuesli and 4 more
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingfix: user errorissue was fixed by correcting the configuration / correcting the codeissue was fixed by correcting the configuration / correcting the codelocked due to agePlease open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing.Please open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing.triageWaiting for team members to take a lookWaiting for team members to take a look