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
Handle svelte-check warnings #186
Milestone
Comments
in user land, if you add in /** @type {import('@sveltejs/kit').Config} */
const config = {
// ...
onwarn(warning, defaultHandler) {
// Do not show 3rd party warnings
if (warning.filename.includes('node_modules')) return
defaultHandler(warning)
},
// ...
}
export default config I find it nice until it's "fixed" 😉 |
Open
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
svelte-check
warnings (A11y, unused variables, etc) so the console is clean<!-- svelte-ignore ... -->
temporarilysvelte-check
and fail build<!-- svelte-ignore ... -->
is used, properly handle remaining itemsThe text was updated successfully, but these errors were encountered: