From 505284a0e81b6493957ba4bec740dbcfc8a69e73 Mon Sep 17 00:00:00 2001 From: Tiago Porto Date: Thu, 2 Jan 2025 16:43:39 -0300 Subject: [PATCH 1/4] feat: add lintstaged icons --- icons/lintstaged.svg | 8 ++++++++ icons/lintstaged_light.svg | 8 ++++++++ src/core/icons/fileIcons.ts | 17 ++++++++++++++++- 3 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 icons/lintstaged.svg create mode 100644 icons/lintstaged_light.svg diff --git a/icons/lintstaged.svg b/icons/lintstaged.svg new file mode 100644 index 0000000000..439a60caed --- /dev/null +++ b/icons/lintstaged.svg @@ -0,0 +1,8 @@ + + + + \ No newline at end of file diff --git a/icons/lintstaged_light.svg b/icons/lintstaged_light.svg new file mode 100644 index 0000000000..10602a62d2 --- /dev/null +++ b/icons/lintstaged_light.svg @@ -0,0 +1,8 @@ + + + + \ No newline at end of file diff --git a/src/core/icons/fileIcons.ts b/src/core/icons/fileIcons.ts index 80c28b4ed7..9a598d7833 100644 --- a/src/core/icons/fileIcons.ts +++ b/src/core/icons/fileIcons.ts @@ -41,7 +41,6 @@ export const fileIcons: FileIcons = { '.jsbeautifyrc', '.esformatter', 'cdp.pid', - '.lintstagedrc', '.whitesource', ], }, @@ -2428,6 +2427,22 @@ export const fileIcons: FileIcons = { 'lighthouserc.yaml', ], }, + { + name: 'lintstaged', + light: true, + fileNames: [ + '.lintstagedrc', + '.lintstagedrc.json', + '.lintstagedrc.yaml', + '.lintstagedrc.yml', + '.lintstagedrc.mjs', + 'lint-staged.config.mjs', + '.lintstagedrc.cjs', + 'lint-staged.config.cjs', + 'lint-staged.config.js', + '.lintstagedrc.js', + ], + }, { name: 'svgr', patterns: { From d7ab676bda3d4005713b518c54a58edef5b6bdaa Mon Sep 17 00:00:00 2001 From: Tiago Porto Date: Tue, 7 Jan 2025 22:52:24 -0300 Subject: [PATCH 2/4] feat: lintstaged suggestion icon --- icons/lintstaged.svg | 10 +++------- icons/lintstaged_light.svg | 8 -------- src/core/icons/fileIcons.ts | 1 - 3 files changed, 3 insertions(+), 16 deletions(-) delete mode 100644 icons/lintstaged_light.svg diff --git a/icons/lintstaged.svg b/icons/lintstaged.svg index 439a60caed..c97e0d733c 100644 --- a/icons/lintstaged.svg +++ b/icons/lintstaged.svg @@ -1,8 +1,4 @@ - - - + + + \ No newline at end of file diff --git a/icons/lintstaged_light.svg b/icons/lintstaged_light.svg deleted file mode 100644 index 10602a62d2..0000000000 --- a/icons/lintstaged_light.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - \ No newline at end of file diff --git a/src/core/icons/fileIcons.ts b/src/core/icons/fileIcons.ts index 9a598d7833..56944b45a5 100644 --- a/src/core/icons/fileIcons.ts +++ b/src/core/icons/fileIcons.ts @@ -2429,7 +2429,6 @@ export const fileIcons: FileIcons = { }, { name: 'lintstaged', - light: true, fileNames: [ '.lintstagedrc', '.lintstagedrc.json', From 9579cbafcf10fe91606edc40161f48f9198b75bd Mon Sep 17 00:00:00 2001 From: Tiago Porto Date: Wed, 8 Jan 2025 20:02:48 -0300 Subject: [PATCH 3/4] chore: update lintstage icon --- icons/lintstaged.svg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/icons/lintstaged.svg b/icons/lintstaged.svg index c97e0d733c..e86756a158 100644 --- a/icons/lintstaged.svg +++ b/icons/lintstaged.svg @@ -1,4 +1,4 @@ - - + + \ No newline at end of file From 0829a87c3a43c8e59683b877c51cf04a85bf1e1e Mon Sep 17 00:00:00 2001 From: Okinea Dev Date: Thu, 9 Jan 2025 08:52:04 +0200 Subject: [PATCH 4/4] fix: make pixel-perfect icon --- icons/lintstaged.svg | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/icons/lintstaged.svg b/icons/lintstaged.svg index e86756a158..6ec3a02ecc 100644 --- a/icons/lintstaged.svg +++ b/icons/lintstaged.svg @@ -1,4 +1 @@ - - - - \ No newline at end of file + \ No newline at end of file