Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.8k
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 havesearched for related issues and found none that matched my issue.
- I haveread the FAQ and my problem is not listed.
Issue Description
I believe I've reproduced#5136.
I seem to have it narrowed down to the followingvery specific combination:
- Using
typescript-eslint
together witheslint-plugin-import
; - Using
allowAutomaticSingleRunInference
; - Importing from
"@mui/joy/styles"
- it seems this import is haunted somehow.
Even weirder - it doesn't always reproduce locally, but fails every time when running on GitHub Actions:
https://github.com/aaronadamsCA/typescript-eslint-issue-5136/actions/runs/3321426085/jobs/5489056308
This was not easy to isolate, but hopefully this reproduction can help resolve the issue for good.
For now we will simply disableallowAutomaticSingleRunInference
in our repositories to avoid this issue.
Reproduction Repository Link
https://github.com/aaronadamsCA/typescript-eslint-issue-5136
Repro Steps
- clone the repo
yarn install
yarn run check
Versions
package | version |
---|---|
@typescript-eslint/eslint-plugin | 5.41.0 |
@typescript-eslint/parser | 5.41.0 |
TypeScript | 4.8.4 |
ESLint | 8.26.0 |
node | 16.17.0 |
Also note Gatsby has a transitive dependency on@typescript-eslint/eslint-plugin@npm:4.33.0
, but I don't believe this is related.