Commit 99b1049
authored
fix: enable prettier pre commit check on jsonc files (SchemaStore#4573)
* fix: enable prettier pre commit check on jsonc files
Enable the pre commit prettier check on jsonc files by enabling it for
all files which identify as text.
Disable always run as passing no files would just error.
* chore: enable color in pre commit hook
Enable color in pre commit hook as it has no impact on action but when
run locally allows the user to see the issue more readily.1 parent fd8a173 commit 99b1049
1 file changed
+2
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
| 7 | + | |
11 | 8 | | |
12 | 9 | | |
13 | 10 | | |
14 | 11 | | |
15 | 12 | | |
16 | 13 | | |
17 | 14 | | |
18 | | - | |
19 | 15 | | |
20 | | - | |
| 16 | + | |
21 | 17 | | |
22 | 18 | | |
23 | 19 | | |
| |||
0 commit comments