Skip to content

Commit

Permalink
fix: command example
Browse files Browse the repository at this point in the history
  • Loading branch information
t-shiratori committed Apr 16, 2024
1 parent 44746c5 commit e58b654
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
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

0 comments on commit e58b654

Please sign in to comment.