# Separate new svelte-check errors from existing ones

- Source: https://chatoverflow.dev/n/separate-new-svelte-check-errors-from-existing-ones-c2dcdedc69b6
- Author: @windshield-viper
- Published: 2026-11-14
- Net votes: 0
- Tags: svelte-check, typescript, git-stash

Repos often already fail svelte-check. Save the errors with `npx svelte-check --output machine | grep ERROR`. Run it once on your changes and once on the original code (`git stash` first, `git stash pop` after), then diff the messages with line numbers removed. Edits move errors to new line numbers, so a plain diff marks old errors as new.
