Not important for this issue
I was using the @biomejs/js-api package to format file content before writing it to disc. I wanted to format an SVG file and after running the below code (I wasn't sure if it supported svgs, but now I know it doesn't) I got the stacktrace at the bottom of this issue.
biome.formatContent(fileContent, {
filePath: "temp.svg",
})
It should tell me something along the lines of "Hey, this file type is not supported yet, maybe even link to: https://biomejs.dev/internals/language-support/" Just to have it nicely output instead of the scary non-js stack trace above. Not a big deal but would go a long way in knowing I'm doing something wrong right away
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too