diff --git a/docs/introduction/formatter.md b/docs/introduction/formatter.md index 330e791b3e..588fda2c3e 100644 --- a/docs/introduction/formatter.md +++ b/docs/introduction/formatter.md @@ -16,13 +16,13 @@ TypeSpec comes with a built-in formatter. The formatter can be used in different Format all typespec files: ```bash -tsp format **/*.tsp +tsp format "**/*.tsp" ``` Validate that the files are formatted but don't format them. Useful for enforcing in CI. ```bash -tsp format --check **/*.tsp +tsp format --check "**/*.tsp" ``` ## Via the VSCode or VS extension diff --git a/packages/website/versioned_docs/version-latest/introduction/formatter.md b/packages/website/versioned_docs/version-latest/introduction/formatter.md index 330e791b3e..588fda2c3e 100644 --- a/packages/website/versioned_docs/version-latest/introduction/formatter.md +++ b/packages/website/versioned_docs/version-latest/introduction/formatter.md @@ -16,13 +16,13 @@ TypeSpec comes with a built-in formatter. The formatter can be used in different Format all typespec files: ```bash -tsp format **/*.tsp +tsp format "**/*.tsp" ``` Validate that the files are formatted but don't format them. Useful for enforcing in CI. ```bash -tsp format --check **/*.tsp +tsp format --check "**/*.tsp" ``` ## Via the VSCode or VS extension