thegeeklab/.pre-commit-config.yaml

12 lines
327 B
YAML

---
repos:
- repo: local
hooks:
- id: no-exif
name: Remove exif data
description: Ensures sensitive exif data is removed
language: system
entry: exiftool -all= --icc_profile:all -tagsfromfile @ -orientation -overwrite_original
exclude_types: ["svg"]
types: ["image"]