forked from pre-commit/mirrors-prettier
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5672f0c
commit 226e974
Showing
3 changed files
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,5 +8,5 @@ | |
args: [] | ||
require_serial: false | ||
additional_dependencies: | ||
- [email protected].1 | ||
- [email protected].2 | ||
minimum_pre_commit_version: '0' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
3.4.1 | ||
3.4.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ Add this to your `.pre-commit-config.yaml`: | |
|
||
```yaml | ||
- repo: https://github.com/ComPWA/prettier-pre-commit | ||
rev: v3.4.1 | ||
rev: v3.4.2 | ||
hooks: | ||
- id: prettier | ||
``` | ||
|
@@ -20,12 +20,12 @@ When using [Prettier plugins](https://prettier.io/docs/en/plugins), you'll need | |
|
||
```yaml | ||
- repo: https://github.com/ComPWA/prettier-pre-commit | ||
rev: v3.4.1 | ||
rev: v3.4.2 | ||
hooks: | ||
- id: prettier | ||
additional_dependencies: | ||
- [email protected].1 | ||
- '@prettier/[email protected].1' | ||
- [email protected].2 | ||
- '@prettier/[email protected].2' | ||
``` | ||
|
||
By default, all files are passed to `prettier`, if you want to limit the file list, adjust `types` / `types_or` / `files`: | ||
|