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: turn off no-undef for ts files #229

Merged
merged 1 commit into from
Jun 21, 2024
Merged

Conversation

achingbrain
Copy link
Member

@achingbrain achingbrain commented Jun 21, 2024

tsc already handles erroring on undefined variables so the check does nothing.

Worse, as of v4 of typescript-eslint third party types are now treated as undefined by eslint so cause spurious errors.

typescript-eslint recommends disabling it.

@achingbrain achingbrain merged commit c9ccaeb into main Jun 21, 2024
17 checks passed
@achingbrain achingbrain deleted the fix/turn-off-no-undef-for-ts branch June 21, 2024 08:00
github-actions bot pushed a commit that referenced this pull request Jun 21, 2024
## [7.0.2](v7.0.1...v7.0.2) (2024-06-21)

### Bug Fixes

* turn off no-undef for ts files ([#229](#229)) ([c9ccaeb](c9ccaeb))
Copy link

🎉 This PR is included in version 7.0.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant