Skip to content

Commit 61b2948

Browse files
authored
docs: add svgo command to pre commit hook (#16178)
* chore: add svgo command to pre commit lint * docs: add multipass flag
1 parent 784096d commit 61b2948

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@
3939
"docs/src/rules/*.md": [
4040
"node tools/fetch-docs-links.js",
4141
"git add docs/src/_data/further_reading_links.json"
42-
]
42+
],
43+
"docs/**/*.svg": "npx svgo -r --multipass"
4344
},
4445
"files": [
4546
"LICENSE",

0 commit comments

Comments
 (0)