pre-commit for image handling
This commit is contained in:
parent
e78fbaade0
commit
955036240b
2 changed files with 182 additions and 1 deletions
|
|
@ -7,6 +7,6 @@ repos:
|
|||
name: Ban spicy exif data
|
||||
description: Ensures that there is no sensitive exif data committed
|
||||
language: system
|
||||
entry: exiftool -all= --icc_profile:all -overwrite_original
|
||||
entry: exiftool -all= --icc_profile:all -tagsfromfile @ -orientation -overwrite_original
|
||||
exclude_types: ["svg"]
|
||||
types: ["image"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue