mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-04 19:26:52 +00:00
parent
0d20f18212
commit
714f1e57b1
2 changed files with 3 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue