Open FranciscoKloganB opened 4 months ago
Hello @FranciscoKloganB
If I have not misunderstood you, you are proposing to add some flag or configuration to the plugin so that if at the time of lint the files does not find any of these, it does not throw error?
Hey @mcfdez. That is correct.
Bug Report (unverified)
Description
I am running some scripts on git pre-commit hooks. Which output the error below when a file does not seem to exist within a project. This should be solvable by using
--no-errors-on-unmatched
. You might also want to allow--files-ignore-unknown=true
as a configuration flag.References
Output
For the issue I am referring to in description here is the output.
This is probably the same issue that happens when
biome-lint
executes and does not find some of the specified matchers.Pre-commit Sample
Here is an exact sample of my pre-commit hook. Check added comments.
Context
You may be wondering why do I do a second
pnpm biome check
after runningbiome-lint
. The reason is that I also want root configuration files to be linted and properly formatted. Which is something this plugin currently does not do.