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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: missing "--apply" option in the command example #2479

Merged
merged 1 commit into from
Apr 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion website/src/content/docs/guides/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ You can format files and directories using the [`format`](/reference/cli#biome-f

You can lint and apply [safe fixes](/linter#safe-fixes) to files and directories using the [`lint`](/reference/cli#biome-lint) command with the `--apply`:

<PackageManagerBiomeCommand command="lint <files>"/>
<PackageManagerBiomeCommand command="lint --apply <files>"/>

You can apply **both** of them by leveraging the [`check`](/reference/cli#biome-check) command:

Expand Down
2 changes: 1 addition & 1 deletion website/src/content/docs/ja/guides/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ Biome CLIには多くのコマンドとオプションが用意されている

[`lint`](/ja/reference/cli#biome-lint) コマンドを `--apply` オプションを指定し実行することで、ファイルやディレクトリに対してLintを実行し、[安全な修正](/ja/linter#安全な修正safe-fixes)を適用できます。

<PackageManagerBiomeCommand command="lint <files>"/>
<PackageManagerBiomeCommand command="lint --apply <files>"/>

[`check`](/ja/reference/cli#biome-check) コマンドを実行することで、それら**両方**のコマンドを実行できます。

Expand Down
2 changes: 1 addition & 1 deletion website/src/content/docs/pt-br/guides/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ Você pode formatar arquivos e diretórios usando o comando [`format`](/referenc

Você pode analisar e aplicar [correções seguras](/pt-br/linter#correções-seguras) em arquivos e diretórios utilizando o comando [`lint`](/reference/cli#biome-lint) com o parâmetro `--apply`:

<PackageManagerBiomeCommand command="lint <files>"/>
<PackageManagerBiomeCommand command="lint --apply <files>"/>

Você pode aplicar **ambos** com o comando [`check`](/reference/cli#biome-check)

Expand Down
2 changes: 1 addition & 1 deletion website/src/content/docs/zh-cn/guides/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ Biome CLI提供了许多命令和选项,因此您可以只使用您需要的

您可以使用[`lint`](/reference/cli#biome-lint)命令和`--apply`选项来对文件和目录进行代码检查并应用[安全修复](/linter#safe-fixes):

<PackageManagerBiomeCommand command="lint <files>"/>
<PackageManagerBiomeCommand command="lint --apply <files>"/>

您可以通过使用[`check`](/reference/cli#biome-check)命令来同时应用**两者**:

Expand Down