-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Support tsconfig references #4094
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Yes, I'm experiencing this as well. This used to work on v4, now doesn't anymore. |
This is what the README says:
This used to work though? |
@molvqingtai @jensmeindertsma could both of you please post a full reproduction repository? We can try to piece together something from the bits of config given but it'd be a lot more reliable to know that it's broken on your end. |
@JoshuaKGoldberg absolutely, here you go: https://github.com/jensmeindertsma/typescript-eslint-project-references |
Let me know if you need anything else @JoshuaKGoldberg 😊 |
We have never supported project references - #2094 Project references are not automatic in the TS APIs, and it's a minefield of problems to support them for our usecase. There are some known bugs with some setups as well - #3851 v5 didn't change anything with our parser packages, so there's nothing that would have broken between the last v4.33 and v5.3.
That section of the readme has been there for quite a long time (>2yr). |
as mentioned above - we do not and have never support project refs. |
Repro
.eslintrc.cjs
tsconfig.eslint.json
tsconfig.json
Expected Result
It should work in the same
__tests__
folder as the vscode checker.https://www.typescriptlang.org/docs/handbook/project-references.html
Actual Result
Additional Info
It is recommended that "references" be supported, keeping the same behaviour as vscode
Versions
@typescript-eslint/parser
5.3.0
TypeScript
4.4.4
ESLint
7.32.0
node
16.13.0
The text was updated successfully, but these errors were encountered: