Skip to content

Commit fdd9ca4

Browse files
Update to SVGO v4 (#153)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Nikita Karamov <[email protected]>
1 parent 9706505 commit fdd9ca4

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,7 @@ repos:
4141
language: system
4242
files: '\.[cm]?[jt]s$'
4343
- repo: https://github.com/kytta/mirrors-svgo
44-
rev: v4.0.0-rc.2
44+
rev: v4.0.0
4545
hooks:
4646
- id: svgo
4747
files: "^src/icons/"
48-
additional_dependencies:
49-
- svgo@3

svgo.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ export default {
8686
},
8787
"removeOffCanvasPaths",
8888
"removeStyleElement",
89-
"removeScriptElement",
89+
"removeScripts",
9090
"removeTitle",
9191
],
9292
};

0 commit comments

Comments
 (0)