mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-03-29 10:16:52 +00:00
parent
b73acb198e
commit
865409743e
3 changed files with 54 additions and 0 deletions
|
|
@ -40,6 +40,11 @@
|
|||
language: python
|
||||
types: [text, executable]
|
||||
stages: [commit, push, manual]
|
||||
- id: check-illegal-windows-names
|
||||
name: check illegal windows names
|
||||
entry: Illegal windows filenames detected
|
||||
language: fail
|
||||
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