Skip to content
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

chore(create-vite): add @types/eslint__js #18293

Closed

Conversation

hairihou
Copy link

@hairihou hairihou commented Oct 7, 2024

Description

Copy link

stackblitz bot commented Oct 7, 2024

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@hairihou hairihou changed the title chore(create-vite): add types/eslint__js chore(create-vite): add @types/eslint__js Oct 7, 2024
Copy link
Member

@sapphi-red sapphi-red left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The input suggestion works fine (eslint/eslint#18100 (comment)). I guess the only reason to add this would be to make the type check pass when // @ts-check or "checkJs": true is set.
The template does not enabled that, so I'll vote for not adding this package to reduce the number of packages.
Even if we do this for @eslint/js, to fully fix the problem, we need to add a type for other eslint plugins and those doesn't have one (facebook/react#30119).

@sapphi-red sapphi-red added p1-chore Doesn't change code behavior (priority) feat: create-vite create-vite package labels Oct 7, 2024
@hairihou
Copy link
Author

hairihou commented Oct 7, 2024

@sapphi-red
You're absolutely right... I agree completely. I will close this PR :)
Thank you for your guidance and insight!

@hairihou hairihou closed this Oct 7, 2024
@hairihou hairihou deleted the chore/add-eslint-definitely-typed branch October 7, 2024 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat: create-vite create-vite package p1-chore Doesn't change code behavior (priority)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants