Linting throws error in monorepo but not normal repo #9873
Unanswered
IdrisCelik
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
When running npm run lint, it throws Parsing error: Unexpected character '@'eslint. When ESLint is not installed it throws from ts(-1) instead.
The expected behavior would be to recognize the @render syntax in Svelte 5. Like how it happens when you're not using Turborepo.
I made a simple repro. Hopefully one of you are able to see the issue. Everything is up-to-date.
I made a generic base config for TS and eslint, for node backend and svelte web/ and extended it in svelte config.
The app works as expected, so this is purely a linting, ts issue.
Clone https://github.com/IdrisCelik/Repro.git
npm install
npm run lint
https://github.com/IdrisCelik/Repro
VSCode
Additional information
No response
Example
https://github.com/IdrisCelik/Repro
Beta Was this translation helpful? Give feedback.
All reactions