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: tsc-files ignores tsconfig.json when called through husky hooks #867

Merged
merged 13 commits into from
Nov 4, 2024

Conversation

gtk-grafana
Copy link
Contributor

@gtk-grafana gtk-grafana commented Nov 1, 2024

Problem: tsc-files is failing when called through husky hooks, unless custom.d.ts is included in the changed files, so my previous "fix" only worked once, for me, when committing that PR, but we started seeing the dang error again locally.

I verified that I can change things in typescript files now without tsc-files blowing up when called from husky hooks.

Reference:
lint-staged/lint-staged#825

@gtk-grafana gtk-grafana self-assigned this Nov 1, 2024
@gtk-grafana gtk-grafana marked this pull request as ready for review November 1, 2024 20:06
@gtk-grafana gtk-grafana requested a review from a team as a code owner November 1, 2024 20:06
@gtk-grafana gtk-grafana enabled auto-merge (squash) November 1, 2024 20:12
@gtk-grafana gtk-grafana changed the title FIx: tsc-files ignores tsconfig.json when called through husky hooks Fix: tsc-files ignores tsconfig.json when called through husky hooks Nov 1, 2024
@gtk-grafana gtk-grafana merged commit 17e9d13 into main Nov 4, 2024
4 checks passed
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.

2 participants