You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As of v1.8.0, the --staged flag doesn’t seem to work properly anymore. In v1.7.3, it would only run on staged files. But in v1.8.0, we get reports in files that are not staged (not even touched, for that matter).
I suspect the error to be related to this merge-request, since it updated which files would end up being considered. I may be wrong.
Expected result
Only the files that are staged by git (or whatever VCS is supported) should be linted when running Biome with the --staged flag.
Code of Conduct
I agree to follow Biome's Code of Conduct
The text was updated successfully, but these errors were encountered:
Environment information
What happened?
As of v1.8.0, the
--staged
flag doesn’t seem to work properly anymore. In v1.7.3, it would only run on staged files. But in v1.8.0, we get reports in files that are not staged (not even touched, for that matter).I suspect the error to be related to this merge-request, since it updated which files would end up being considered. I may be wrong.
Expected result
Only the files that are staged by git (or whatever VCS is supported) should be linted when running Biome with the --staged flag.
Code of Conduct
The text was updated successfully, but these errors were encountered: