This repository has been archived by the owner on Aug 31, 2023. It is now read-only.
🐛 Confusing error when running rome check
with a directory
#3329
Labels
A-CLI
Area: CLI
A-Diagnostic
Area: errors and diagnostics
S-Bug: confirmed
Status: report has been confirmed as a valid bug
When I run
rome check .
I expected it to use the current directory and only lint valid files. However what happens is that it ends up erroring on the first file that we don't support. eg. I get the output:This isn't very helpful and it would be nice if when exploding a directory pattern on the CLI we filter it to supported files only.
I labeled this as a bug as this feels like some extraordinarily unexpected behaviour.
The text was updated successfully, but these errors were encountered: