Closed jschaf closed 9 months ago
That's not a formatting issue, that option is available to all commands.
Could you at least share some screenshots, please? Or video. We don't need a playground
That's not a formatting issue, that option is available to all commands.
I wasn't sure how to categorize global options.
Could you at least share some screenshots, please? Or video. We don't need a playground
Sure:
You have to not enabled logging.
What you see on screen are diagnostics. Logs are different. Use --log-kind=info
to enable logs up to info
kind.
So, are there any options to change the diagnostics format?
When used in git hooks, IDEs show output usually in small pop-up windows. I'd like to see something like: "There are 20 errors in 6 files." or list of files with errors; something compact.
So, are there any options to change the diagnostics format?
No, not yet. I've done some preliminary work though
When used in git hooks, IDEs show output usually in small pop-up windows. I'd like to see something like: "There are 20 errors in 6 files." or list of files with errors; something compact.
I'm not sure what you are referring to. But if you have some idea, I suggest creating a GitHub discussion
I'm going to close the issue. OP hasn't replied in a while, and it seems he misunderstood the issue
To close the loop, what I'm really after is structured data of diagnostics as JSON or a similar format. I'd like to wrap Biome with our internal command-line tool to make linting a single command across all languages we support (Go, SQL, protobuf, and a few others)
What I want to do is:
# Run linters for all supported languages in our repo, including biome.
some-internal-tool lint
Environment information
Configuration
Playground link
https://biomejs.dev/playground/?lineWidth=120&code=YwBvAG4AcwB0ACAAZgBvAG8AIAA9ACAAIgAxADIAMwA0ACIAIAA7AA%3D%3D
Code of Conduct
Repro
These invocations all show the same output
pretty
: