From 1a42d7973bb9935a6638cc698ba9a4aef09c9c07 Mon Sep 17 00:00:00 2001 From: Anthony Fu Date: Thu, 28 Sep 2023 08:46:37 +0800 Subject: [PATCH] chore: fix vscode eslint setup --- .vscode/settings.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.vscode/settings.json b/.vscode/settings.json index fa5a0d7..9b9c4c0 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -9,6 +9,9 @@ "*.css": "postcss" }, + // Enable the ESlint flat config support + "eslint.experimental.useFlatConfig": true, + // Disable the default formatter, use eslint instead "prettier.enable": false, "editor.formatOnSave": false,