Skip to content

fix: red parserOptions.project line in VSC - #59

Closed
frodi-karlsson wants to merge 1 commit into
mainfrom
fix-vsc-red-line
Closed

fix: red parserOptions.project line in VSC#59
frodi-karlsson wants to merge 1 commit into
mainfrom
fix-vsc-red-line

Conversation

@frodi-karlsson

Copy link
Copy Markdown
Contributor

as I understand it, this line was meant to work around a now-fixed bug in typescript-eslint.
Removing it seems to resolve a relatively new issue of eslint attempting to use the wrong tsconfig.json (at least in VSC, but also maybe outside of it)

@frodi-karlsson

frodi-karlsson commented Aug 21, 2025

Copy link
Copy Markdown
Contributor Author

Hmm it does seem like projects using typescript-eslint's .config() still need

  languageOptions: {
      parserOptions: {
        project: 'tsconfig.json',
      },
    },

@frodi-karlsson
frodi-karlsson marked this pull request as draft August 21, 2025 09:47
@frodi-karlsson

Copy link
Copy Markdown
Contributor Author

Aha, this is only for .vue .html, my mistake 🤦

@kirillgroshkov

Copy link
Copy Markdown
Member

was meant to work around a now-fixed bug in typescript-eslint

I think there were 3 related bugs, but this one is still unfixed for me, that's why this line is still needed (for dev-lib, at least)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants