Repository navigation
svelte-check-reporter: see svelte-check's errors in GitLab merge requests and GitHub pull requests #19222
faissalrez
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
svelte-check only prints its problems to the CI log, and the svelte-check team prefers not to add output formats. So I wrote svelte-check-reporter, a small CLI that converts
--output machine-verboseinto:npm install --save-dev svelte-check-reporter npx svelte-check --output machine-verbose | npx svelte-check-reporter --format githubIt handles
.svelteand.tsfiles, keeps errors and warnings apart, and fails like svelte-check. GitLab and code scanning only report what a change adds or fixes, so a project with existing errors can stop new ones.See it in the demo's pull requests and merge request. Feedback welcome!
All reactions