-
-
Notifications
You must be signed in to change notification settings - Fork 26
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
Typescript issue in flat config: Types of property 'parser' are incompatible
#203
Comments
@silverwind I can look into improving a few types of config presets. |
Thanks. The error probably went unnoticed so far because eslint configs are usually JS, not TS. |
@silverwind So I have been looking into this. We have typed our So I don't know what to do. if we make |
Hmm, sounds like a bug in either |
Nah. It just happens that they both maintain their own types and are not compatible with each other. We use the types from |
Also same happens with a new default installation of eslint /** @type {import('eslint').Linter.Config[]} */
export default [] |
Exactly. And it still conflicts with types from |
Given the following flat config (in a shared config):
I'm presented with the following boatload of a typescript error on line 6:
Not sure how long this error is there, I'm still using eslintrc config, but am trying to finally migrate to flat.
The text was updated successfully, but these errors were encountered: