support more illegal Windows filenames

See comments in #1031
This commit is contained in:
Eric L Frederich 2024-04-16 14:43:15 -04:00
parent 0d20f18212
commit 714f1e57b1
No known key found for this signature in database
GPG key ID: 9F2136932FBB7EAC
2 changed files with 3 additions and 1 deletions

View file

@ -44,7 +44,7 @@
name: check illegal windows names
entry: Illegal windows filenames detected
language: fail
files: '(?i)(^|/)(CON|PRN|AUX|NUL|COM[1-9]|LPT[1-9])(\.|/|$)'
files: '(?i)((^|/)(CON|PRN|AUX|NUL|COM[1-9]|LPT[1-9])(\.|/|$)|:)'
- id: check-json
name: check json
description: checks json files for parseable syntax.