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

TypeScript should disable "no-undef" #241

Closed
tylerlong opened this issue Mar 9, 2023 · 1 comment
Closed

TypeScript should disable "no-undef" #241

tylerlong opened this issue Mar 9, 2023 · 1 comment

Comments

@tylerlong
Copy link

https://github.com/typescript-eslint/typescript-eslint/blob/main/docs/linting/Troubleshooting.mdx#i-get-errors-from-the-no-undef-rule-about-global-variables-not-being-defined-even-though-there-are-no-typescript-errors

We strongly recommend that you do not use the no-undef lint rule on TypeScript projects. The checks it provides are already provided by TypeScript without the need for configuration - TypeScript just does this significantly better.

@xcatliu
Copy link
Member

xcatliu commented Aug 9, 2023

Disabled in 5.1.1

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

No branches or pull requests

2 participants