From 2000eda414e9825e1c51ab9d162b6c6c3389bd58 Mon Sep 17 00:00:00 2001 From: feige996 <1020102647@qq.com> Date: Sun, 22 Jun 2025 10:07:22 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E7=A6=81=E7=94=A8prettier=E5=B9=B6?= =?UTF-8?q?=E5=90=AF=E7=94=A8eslint=E4=BD=9C=E4=B8=BA=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E6=A0=BC=E5=BC=8F=E5=8C=96=E5=B7=A5=E5=85=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .vscode/settings.json | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 8cdc821..f56793f 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -56,25 +56,25 @@ "eslint.config.mjs": "tsconfig.json,.commitlintrc.*,.prettier*,.editorconfig,.commitlint.cjs,.eslint*" }, - // 保存的时候自动格式化 - "prettier.enable": true, - "editor.formatOnSave": true, - // 开启自动修复 - "editor.codeActionsOnSave": { - "source.fixAll": "explicit", - "source.fixAll.eslint": "explicit", - "source.fixAll.stylelint": "explicit" - }, + // // 保存的时候自动格式化 + // "prettier.enable": true, + // "editor.formatOnSave": true, + // // 开启自动修复 + // "editor.codeActionsOnSave": { + // "source.fixAll": "explicit", + // "source.fixAll.eslint": "explicit", + // "source.fixAll.stylelint": "explicit" + // }, // Disable the default formatter, use eslint instead - // "prettier.enable": false, - // "editor.formatOnSave": false, + "prettier.enable": false, + "editor.formatOnSave": false, // Auto fix - // "editor.codeActionsOnSave": { - // "source.fixAll.eslint": "explicit", - // "source.organizeImports": "never" - // }, + "editor.codeActionsOnSave": { + "source.fixAll.eslint": "explicit", + "source.organizeImports": "never" + }, // Silent the stylistic rules in you IDE, but still auto fix them "eslint.rules.customizations": [