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

fix: add eslint.config.* to tsconfig.node.json and fix other eslint issues #669

Merged
merged 6 commits into from
Jan 20, 2025

Conversation

haoqunjiang
Copy link
Member

ESLint 9.18 unflagged eslint.config.ts support, therefore it's necessary to add eslint.config.* to tsconfig.node.json to avoid typescript-eslint raising error on that file.

ESLint 9.18 unflagged `eslint.config.ts` support, therefore it's
necessary to add `eslint.config.*` to `tsconfig.node.json` to avoid
typescript-eslint raising error on that file.
Previously we don't generate all possible combinations of flags for
eslint, therefore missing this bug in typescript-eslint projects.

I wanted to add snapshots for prettier feature too, but it currently
is a bit messy, I need to refactor that part first.
I don't want to use @ts-expect-error here because eslint-plugin-cypress
could add some types in the future and that shouldn't cause errors.
It's too much work to get them work together out of box, so let's skip
@haoqunjiang haoqunjiang changed the title fix: add eslint.config.* to tsconfig.node.json fix: add eslint.config.* to tsconfig.node.json and fix other eslint issues Jan 20, 2025
@haoqunjiang haoqunjiang merged commit dcde963 into vuejs:main Jan 20, 2025
52 checks passed
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.

1 participant