diff options
author | Thaddeus Crews <repiteo@outlook.com> | 2024-06-04 09:49:56 -0500 |
---|---|---|
committer | Thaddeus Crews <repiteo@outlook.com> | 2024-06-23 08:14:54 -0500 |
commit | 4af10686882b223879562a5c2adacad6fb756f02 (patch) | |
tree | 585c2f6fffe86fb1e4275c592b48237ad677dbd8 /.pre-commit-config.yaml | |
parent | 04bf7d4cade645a5923cc80d87ac1c6109e2cdfe (diff) | |
download | redot-engine-4af10686882b223879562a5c2adacad6fb756f02.tar.gz |
CI: Add `svgo` pre-commit hook
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r-- | .pre-commit-config.yaml | 8 |
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 |