From 2ad74dbf0f0bcc2cb55a0adb18820b6bc3ebcf8c Mon Sep 17 00:00:00 2001 From: LitoMore Date: Mon, 4 Sep 2023 06:58:08 -0500 Subject: [PATCH] Fix memoize function of svglint (#9491) Co-authored-by: Adam Rusted --- .svglintrc.mjs | 12 ++++++------ icons/alipay.svg | 2 +- icons/anilist.svg | 2 +- icons/apachecassandra.svg | 2 +- icons/docusaurus.svg | 2 +- icons/googledatastudio.svg | 2 +- icons/hexlet.svg | 2 +- icons/honor.svg | 2 +- icons/matillion.svg | 2 +- icons/opslevel.svg | 2 +- 10 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.svglintrc.mjs b/.svglintrc.mjs index 861f200f..10dcb0ca 100644 --- a/.svglintrc.mjs +++ b/.svglintrc.mjs @@ -370,7 +370,7 @@ export default { } } }, - (reporter, $, ast, filepath) => { + (reporter, $, ast, { filepath }) => { reporter.name = 'icon-size'; const iconPath = getIconPath($, filepath); @@ -399,7 +399,7 @@ export default { } } }, - (reporter, $, ast, filepath) => { + (reporter, $, ast, { filepath }) => { reporter.name = 'icon-precision'; const iconPath = getIconPath($, filepath); @@ -429,7 +429,7 @@ export default { } } }, - (reporter, $, ast, filepath) => { + (reporter, $, ast, { filepath }) => { reporter.name = 'ineffective-segments'; const iconPath = getIconPath($, filepath); @@ -853,7 +853,7 @@ export default { } } }, - (reporter, $, ast, filepath) => { + (reporter, $, ast, { filepath }) => { reporter.name = 'negative-zeros'; const iconPath = getIconPath($, filepath); @@ -879,7 +879,7 @@ export default { } } }, - (reporter, $, ast, filepath) => { + (reporter, $, ast, { filepath }) => { reporter.name = 'icon-centered'; const iconPath = getIconPath($, filepath); @@ -906,7 +906,7 @@ export default { } } }, - (reporter, $, ast, filepath) => { + (reporter, $, ast, { filepath }) => { reporter.name = 'path-format'; const iconPath = getIconPath($, filepath); diff --git a/icons/alipay.svg b/icons/alipay.svg index 7514d6dd..30fa27f2 100644 --- a/icons/alipay.svg +++ b/icons/alipay.svg @@ -1 +1 @@ -Alipay \ No newline at end of file +Alipay \ No newline at end of file diff --git a/icons/anilist.svg b/icons/anilist.svg index fa1dd075..14384ac8 100644 --- a/icons/anilist.svg +++ b/icons/anilist.svg @@ -1 +1 @@ -AniList \ No newline at end of file +AniList \ No newline at end of file diff --git a/icons/apachecassandra.svg b/icons/apachecassandra.svg index 0ef70eee..69fc8745 100644 --- a/icons/apachecassandra.svg +++ b/icons/apachecassandra.svg @@ -1 +1 @@ -Apache Cassandra \ No newline at end of file +Apache Cassandra \ No newline at end of file diff --git a/icons/docusaurus.svg b/icons/docusaurus.svg index 31a7a474..bbfb9ab9 100644 --- a/icons/docusaurus.svg +++ b/icons/docusaurus.svg @@ -1 +1 @@ -Docusaurus \ No newline at end of file +Docusaurus \ No newline at end of file diff --git a/icons/googledatastudio.svg b/icons/googledatastudio.svg index 765918e7..4bdcf9f0 100644 --- a/icons/googledatastudio.svg +++ b/icons/googledatastudio.svg @@ -1 +1 @@ -Google Data Studio \ No newline at end of file +Google Data Studio \ No newline at end of file diff --git a/icons/hexlet.svg b/icons/hexlet.svg index 9f23031a..dfba15b2 100644 --- a/icons/hexlet.svg +++ b/icons/hexlet.svg @@ -1 +1 @@ -Hexlet \ No newline at end of file +Hexlet \ No newline at end of file diff --git a/icons/honor.svg b/icons/honor.svg index a7e921ea..dfe61e15 100644 --- a/icons/honor.svg +++ b/icons/honor.svg @@ -1 +1 @@ -Honor \ No newline at end of file +Honor \ No newline at end of file diff --git a/icons/matillion.svg b/icons/matillion.svg index 64c65240..effa0324 100644 --- a/icons/matillion.svg +++ b/icons/matillion.svg @@ -1 +1 @@ -Matillion \ No newline at end of file +Matillion \ No newline at end of file diff --git a/icons/opslevel.svg b/icons/opslevel.svg index 7ded718e..a33966d2 100644 --- a/icons/opslevel.svg +++ b/icons/opslevel.svg @@ -1 +1 @@ -OpsLevel \ No newline at end of file +OpsLevel \ No newline at end of file