Skip to content

Commit ed9ac1a

Browse files
Deployed to github pages
1 parent d90f702 commit ed9ac1a

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

all-hooks.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,13 @@
7575
"manual"
7676
]
7777
},
78+
{
79+
"id": "check-illegal-windows-names",
80+
"name": "check illegal windows names",
81+
"entry": "Illegal windows filenames detected",
82+
"language": "fail",
83+
"files": "(?i)(^|/)(CON|PRN|AUX|NUL|COM[1-9]|LPT[1-9])(\\.|/|$)"
84+
},
7885
{
7986
"id": "check-json",
8087
"name": "check json",

hooks.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,10 @@ <h3 data-repo="https://github.com/pre-commit/pre-commit-hooks">
152152
<code>check-executables-have-shebangs</code>
153153
- ensures that (non-binary) executables have a shebang.
154154
</li>
155+
<li data-id="check-illegal-windows-names" data-types="">
156+
<code>check-illegal-windows-names</code>
157+
- check illegal windows names
158+
</li>
155159
<li data-id="check-json" data-types="json">
156160
<code>check-json</code>
157161
- checks json files for parseable syntax.

0 commit comments

Comments
 (0)