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

WIP: blog post on why I don't lint in Git hooks #322

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

JoshuaKGoldberg
Copy link
Owner

PR Checklist

Overview

WIP.

Copy link

vercel bot commented Nov 17, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
joshuakgoldberg-dot-com ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 17, 2024 4:20pm

Similarly, the _targeted_ strategy becomes slow because you need a tool such as TypeScript to understand which files impact which other files.
TypeScript allows [global augmentations](TODO) and other strategies that make it impossible to fully analyze dependency graphs purely based on `import` and `export` statements.

## Example: Floating Promise Detection
Copy link
Owner Author

Choose a reason for hiding this comment

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

I'll wait until typescript-eslint/typescript-eslint#8088 is done so the Promise docs are best positioned to be linked to.

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

Successfully merging this pull request may close these issues.

🚀 Feature: Blog post on why linting as a Git commit hook falls apart
1 participant