From 4c6a6fb38efe5be975a65914b3cd5d38a3581331 Mon Sep 17 00:00:00 2001
From: "pre-commit-ci[bot]"
<66853113+pre-commit-ci[bot]@users.noreply.github.com>
Date: Mon, 29 Jan 2024 18:17:42 +0000
Subject: [PATCH 1/3] [pre-commit.ci] pre-commit autoupdate
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
updates:
- [github.com/pre-commit/mirrors-eslint: v9.0.0-alpha.1 → v9.0.0-alpha.2](https://github.com/pre-commit/mirrors-eslint/compare/v9.0.0-alpha.1...v9.0.0-alpha.2)
---
.pre-commit-config.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 7715053..0680f11 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -18,7 +18,7 @@ repos:
additional_dependencies:
- prettier@3
- repo: https://github.com/pre-commit/mirrors-eslint
- rev: "v9.0.0-alpha.1"
+ rev: "v9.0.0-alpha.2"
hooks:
- id: eslint
files: \.([jt]s|astro)$ # *.js, *.ts and *.astro
From b31215510bfb4929272f7170294040ef6c12b90c Mon Sep 17 00:00:00 2001
From: "pre-commit-ci[bot]"
<66853113+pre-commit-ci[bot]@users.noreply.github.com>
Date: Mon, 29 Jan 2024 18:18:01 +0000
Subject: [PATCH 2/3] [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---
src/icons/linkedin-in.svg | 2 +-
src/icons/linkedin.svg | 2 +-
src/icons/mastodon.svg | 2 +-
src/icons/messenger.svg | 2 +-
src/icons/odnoklassniki.svg | 2 +-
src/icons/pocket.svg | 2 +-
src/icons/reddit.svg | 2 +-
src/icons/teams.svg | 2 +-
src/icons/telegram.svg | 2 +-
src/icons/twitter.svg | 2 +-
src/icons/viber.svg | 2 +-
src/icons/whatsapp.svg | 2 +-
12 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/src/icons/linkedin-in.svg b/src/icons/linkedin-in.svg
index dd749c0..dc1f55c 100644
--- a/src/icons/linkedin-in.svg
+++ b/src/icons/linkedin-in.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/src/icons/linkedin.svg b/src/icons/linkedin.svg
index d36dca6..bed4e06 100644
--- a/src/icons/linkedin.svg
+++ b/src/icons/linkedin.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/src/icons/mastodon.svg b/src/icons/mastodon.svg
index c670f6b..0208830 100644
--- a/src/icons/mastodon.svg
+++ b/src/icons/mastodon.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/src/icons/messenger.svg b/src/icons/messenger.svg
index 762ae9c..3b71737 100644
--- a/src/icons/messenger.svg
+++ b/src/icons/messenger.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/src/icons/odnoklassniki.svg b/src/icons/odnoklassniki.svg
index 1f00fc6..d74d63c 100644
--- a/src/icons/odnoklassniki.svg
+++ b/src/icons/odnoklassniki.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/src/icons/pocket.svg b/src/icons/pocket.svg
index 39b5d69..cb928c1 100644
--- a/src/icons/pocket.svg
+++ b/src/icons/pocket.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/src/icons/reddit.svg b/src/icons/reddit.svg
index 1fee3d8..29a7e88 100644
--- a/src/icons/reddit.svg
+++ b/src/icons/reddit.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/src/icons/teams.svg b/src/icons/teams.svg
index 2488988..d2fa867 100644
--- a/src/icons/teams.svg
+++ b/src/icons/teams.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/src/icons/telegram.svg b/src/icons/telegram.svg
index c814858..108fb25 100644
--- a/src/icons/telegram.svg
+++ b/src/icons/telegram.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/src/icons/twitter.svg b/src/icons/twitter.svg
index d55acea..6663418 100644
--- a/src/icons/twitter.svg
+++ b/src/icons/twitter.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/src/icons/viber.svg b/src/icons/viber.svg
index e9ee52e..0f84938 100644
--- a/src/icons/viber.svg
+++ b/src/icons/viber.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/src/icons/whatsapp.svg b/src/icons/whatsapp.svg
index 1486682..ac8a768 100644
--- a/src/icons/whatsapp.svg
+++ b/src/icons/whatsapp.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
From fa7bb62967f57708c6b22d3303245e02e073d0e3 Mon Sep 17 00:00:00 2001
From: Nikita Karamov
Date: Sun, 4 Feb 2024 11:20:21 +0100
Subject: [PATCH 3/3] Replace local SVGO hook with mirror repo
---
.pre-commit-config.yaml | 11 +++--------
1 file changed, 3 insertions(+), 8 deletions(-)
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 0680f11..f27d640 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -28,13 +28,8 @@ repos:
- eslint-config-prettier@9
- eslint-plugin-unicorn@49
- prettier@3
- - repo: local
+ - repo: https://github.com/kytta/mirrors-svgo
+ rev: v3.2.0
hooks:
- id: svgo
- name: optimize SVG files
- entry: svgo
- types: [svg]
- files: 'src/icons/.*\.svg'
- language: node
- additional_dependencies:
- - svgo
+ files: "^src/icons/"