From 616b5d7fbfa4842646c9d458e8c380999fa3f8c6 Mon Sep 17 00:00:00 2001 From: Sam <51397088+Hbisedm@users.noreply.github.com> Date: Sun, 15 Oct 2023 21:26:41 +0800 Subject: [PATCH] chore: update config (#40) --- .vscode/settings.json | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 934bc2f..328a19d 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -3,14 +3,17 @@ "*.css": "postcss" }, + // Enable the ESlint flat config support + "eslint.experimental.useFlatConfig": true, + // Disable the default formatter "prettier.enable": false, "editor.formatOnSave": false, // Auto fix "editor.codeActionsOnSave": { - "source.fixAll.eslint": true, - "source.organizeImports": false + "source.fixAll": "explicit", + "source.organizeImports": "never" }, // Silent the stylistic rules in you IDE, but still auto fix them