From af88cd35ae00b4a15aec8010e1faded2472e0912 Mon Sep 17 00:00:00 2001 From: yassinedorbozgithub Date: Tue, 15 Oct 2024 19:39:30 +0100 Subject: [PATCH 1/2] fix: automatic remove unused imports --- .vscode/settings.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index e871115..881d169 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,6 +1,7 @@ { "editor.codeActionsOnSave": { - "source.fixAll.eslint": "explicit" + "source.fixAll.eslint": "always", + "source.organizeImports": "always" }, "editor.defaultFormatter": "esbenp.prettier-vscode", "editor.formatOnSave": true, From d3c0527afcf556a76ec09b4b2d608844c2fa2c0c Mon Sep 17 00:00:00 2001 From: yassinedorbozgithub Date: Wed, 16 Oct 2024 05:08:07 +0100 Subject: [PATCH 2/2] fix: make explicit the onSave event trigger --- .vscode/settings.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 881d169..554421f 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,7 +1,7 @@ { "editor.codeActionsOnSave": { - "source.fixAll.eslint": "always", - "source.organizeImports": "always" + "source.fixAll.eslint": "explicit", + "source.organizeImports": "explicit" }, "editor.defaultFormatter": "esbenp.prettier-vscode", "editor.formatOnSave": true,