Skip to content

Commit

Permalink
chore(projects): optimize code & update vscode settings
Browse files Browse the repository at this point in the history
  • Loading branch information
mufeng889 committed Nov 8, 2024
1 parent bb86296 commit 2ecb099
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"],
Expand Down
2 changes: 1 addition & 1 deletion src/pages/home/modules/ProjectNews.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ const ProjectNews = () => {
avatar={<SoybeanAvatar className="size-48px!" />}
title={item.content}
description={item.time}
></List.Item.Meta>
/>
</List.Item>
</motion.div>
)}
Expand Down
2 changes: 1 addition & 1 deletion src/pages/login/code-login/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export const Component = () => {
name="phone"
rules={formRules.phone}
>
<Input placeholder={t('page.login.common.phonePlaceholder')}></Input>
<Input placeholder={t('page.login.common.phonePlaceholder')} />
</Form.Item>

<Form.Item
Expand Down

0 comments on commit 2ecb099

Please sign in to comment.