You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
CI: Add svgo pre-commit hook
This commit is contained in:
20
misc/utility/svgo.config.mjs
Normal file
20
misc/utility/svgo.config.mjs
Normal file
@@ -0,0 +1,20 @@
|
||||
export default {
|
||||
multipass: true,
|
||||
precision: 2,
|
||||
plugins: [
|
||||
{
|
||||
name: "preset-default",
|
||||
params: {
|
||||
overrides: {
|
||||
removeHiddenElems: false,
|
||||
convertPathData: false,
|
||||
},
|
||||
},
|
||||
},
|
||||
"convertStyleToAttrs",
|
||||
"removeScriptElement",
|
||||
"removeStyleElement",
|
||||
"reusePaths",
|
||||
"sortAttrs",
|
||||
],
|
||||
};
|
||||
Reference in New Issue
Block a user