Skip to content

chore: add svelte-check pre-commit hook#396

Merged
gka merged 1 commit into
mainfrom
chore/svelte-check-precommit
Feb 19, 2026
Merged

chore: add svelte-check pre-commit hook#396
gka merged 1 commit into
mainfrom
chore/svelte-check-precommit

Conversation

@ljodea

@ljodea ljodea commented Feb 19, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Adds svelte-check as a pre-commit hook to catch Svelte/TS type errors before they're committed
  • Uses --diagnostic-sources svelte to focus on Svelte-specific diagnostics
  • Runs only when .svelte or .svelte.ts files are modified

Note

There are ~1,275 existing type errors across 222 files that will be addressed in follow-up PRs. This hook will prevent new errors from being introduced.

Test plan

  • Verify pre-commit hook runs on .svelte file changes
  • Verify hook catches type errors and blocks commit

🤖 Generated with Claude Code

Adds svelte-check as a pre-commit hook to catch Svelte/TS errors
before they're committed. Uses --diagnostic-sources svelte to focus
on Svelte-specific diagnostics.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@netlify

netlify Bot commented Feb 19, 2026

Copy link
Copy Markdown

Deploy Preview for svelteplot ready!

Name Link
🔨 Latest commit 69e4a12
🔍 Latest deploy log https://app.netlify.com/projects/svelteplot/deploys/6996c171d007ca0008c78567
😎 Deploy Preview https://deploy-preview-396--svelteplot.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@gka gka merged commit 46b4c42 into main Feb 19, 2026
9 checks passed
@gka gka deleted the chore/svelte-check-precommit branch February 19, 2026 10:25
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.

2 participants