From 2ecb099787152b0e69cf68ef308b1c95af5effea Mon Sep 17 00:00:00 2001
From: wang <1509326266@qq.com>
Date: Sat, 9 Nov 2024 00:05:21 +0800
Subject: [PATCH] chore(projects): optimize code & update vscode settings
---
.vscode/settings.json | 6 ++++++
src/pages/home/modules/ProjectNews.tsx | 2 +-
src/pages/login/code-login/index.tsx | 2 +-
3 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/.vscode/settings.json b/.vscode/settings.json
index 364071a..d551fb4 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -7,6 +7,12 @@
"editor.guides.bracketPairs": "active",
"editor.formatOnSave": false,
"eslint.validate": ["html", "css", "scss", "json", "jsonc"],
+ "explorer.fileNesting.enabled": true,
+ "explorer.fileNesting.patterns": {
+ "package.json": "package-lock.json, pnpm*, eslint*, .editorconfig,.gitattributes,.gitignore,.npmrc",
+ ".env": ".env*",
+ "README.md": "README*,LICENSE,CHANGELOG*,vercel.json"
+ },
"i18n-ally.displayLanguage": "zh-cn",
"i18n-ally.enabledParsers": ["ts"],
"i18n-ally.enabledFrameworks": ["react-i18next"],
diff --git a/src/pages/home/modules/ProjectNews.tsx b/src/pages/home/modules/ProjectNews.tsx
index dcc59f6..63dc17f 100644
--- a/src/pages/home/modules/ProjectNews.tsx
+++ b/src/pages/home/modules/ProjectNews.tsx
@@ -124,7 +124,7 @@ const ProjectNews = () => {
avatar={