Skip to content

Commit

Permalink
Fix formatter docs
Browse files Browse the repository at this point in the history
  • Loading branch information
timotheeguerin committed Oct 13, 2023
1 parent e762230 commit 3bcf974
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/introduction/formatter.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3bcf974

Please sign in to comment.