From 9173e57a39e9769869c7a721a71d51d61cfab0fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=87=91=E4=BC=9F=E5=BC=BA?= Date: Mon, 29 May 2023 16:08:49 +0800 Subject: [PATCH] feat: add setting json --- .gitignore | 1 - web/.vscode/settings.json | 23 +++++++++++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 web/.vscode/settings.json diff --git a/.gitignore b/.gitignore index 50f682499e..6324233829 100644 --- a/.gitignore +++ b/.gitignore @@ -130,7 +130,6 @@ dmypy.json .idea/' .DS_Store -.vscode # Intellij IDEA Files .idea/ diff --git a/web/.vscode/settings.json b/web/.vscode/settings.json new file mode 100644 index 0000000000..0b5ecc7e77 --- /dev/null +++ b/web/.vscode/settings.json @@ -0,0 +1,23 @@ +{ + "prettier.enable": false, + "editor.formatOnSave": true, + "editor.codeActionsOnSave": { + "source.fixAll.eslint": true + }, + "eslint.format.enable": true, + "[python]": { + "editor.formatOnType": true + }, + "[html]": { + "editor.defaultFormatter": "vscode.html-language-features" + }, + "[typescriptreact]": { + "editor.defaultFormatter": "vscode.typescript-language-features" + }, + "[javascriptreact]": { + "editor.defaultFormatter": "vscode.typescript-language-features" + }, + "[jsonc]": { + "editor.defaultFormatter": "vscode.json-language-features" + } +} \ No newline at end of file