Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃搸 Execute Biome command on the working directory by default #2266

Closed
Conaclos opened this issue Apr 1, 2024 · 0 comments 路 Fixed by #2726
Closed

馃搸 Execute Biome command on the working directory by default #2266

Conaclos opened this issue Apr 1, 2024 · 0 comments 路 Fixed by #2726
Labels
A-CLI Area: CLI

Comments

@Conaclos
Copy link
Member

Conaclos commented Apr 1, 2024

Description

See #2240 for more context.

For now, The main Biome commands require passing at least one file (possibly a directory).
For instance, to format all files in the working directory, a user has to run biome format ./.

Running a Biome command on the working directory is really common.
We should allow to omit the path and default to the working directory.
Thus, biome <format|lint|check> should be equivalent to biome <format|lint|check> ./.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-CLI Area: CLI
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant