Skip to content

Commit a1abb52

Browse files
Deployed to github pages
1 parent f6fe353 commit a1abb52

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

all-hooks.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
"name": "check illegal windows names",
8181
"entry": "Illegal windows filenames detected",
8282
"language": "fail",
83-
"files": "(?i)(^|/)(CON|PRN|AUX|NUL|COM[1-9]|LPT[1-9])(\\.|/|$)"
83+
"files": "(?i)((^|/)(CON|PRN|AUX|NUL|COM[1-9]|LPT[1-9])(\\.|/|$)|:)"
8484
},
8585
{
8686
"id": "check-json",
@@ -365,7 +365,8 @@
365365
"json",
366366
"objective-c",
367367
"proto",
368-
"textproto"
368+
"textproto",
369+
"metal"
369370
],
370371
"args": [
371372
"-style=file"

hooks.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@
8181
<option value="lua">lua</option>
8282
<option value="makefile">makefile</option>
8383
<option value="markdown">markdown</option>
84+
<option value="metal">metal</option>
8485
<option value="non-executable">non-executable</option>
8586
<option value="objective-c">objective-c</option>
8687
<option value="perl">perl</option>
@@ -267,7 +268,7 @@ <h3 data-repo="https://github.com/pre-commit/mirrors-clang-format">
267268
</a>
268269
</h3>
269270
<ul data-repo="https://github.com/pre-commit/mirrors-clang-format">
270-
<li data-id="clang-format" data-types="c++, c, c#, cuda, java, javascript, json, objective-c, proto, textproto">
271+
<li data-id="clang-format" data-types="c++, c, c#, cuda, java, javascript, json, objective-c, proto, textproto, metal">
271272
<code>clang-format</code>
272273
</li>
273274
</ul>

0 commit comments

Comments
 (0)