summaryrefslogtreecommitdiffstats
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
authorThaddeus Crews <repiteo@outlook.com>2024-06-04 09:49:56 -0500
committerThaddeus Crews <repiteo@outlook.com>2024-06-23 08:14:54 -0500
commit4af10686882b223879562a5c2adacad6fb756f02 (patch)
tree585c2f6fffe86fb1e4275c592b48237ad677dbd8 /.pre-commit-config.yaml
parent04bf7d4cade645a5923cc80d87ac1c6109e2cdfe (diff)
downloadredot-engine-4af10686882b223879562a5c2adacad6fb756f02.tar.gz
CI: Add `svgo` pre-commit hook
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r--.pre-commit-config.yaml8
1 files changed, 8 insertions, 0 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index cf10acfa79..46f29d0d5f 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -118,6 +118,14 @@ repos:
pass_filenames: false
additional_dependencies: ['jsdoc@^4.0.3']
+ - id: svgo
+ name: svgo
+ language: node
+ entry: svgo
+ files: \.svg$
+ args: [--quiet, --config, misc/utility/svgo.config.mjs]
+ additional_dependencies: ["svgo@3.3.2"]
+
- id: copyright-headers
name: copyright-headers
language: python