Skip to content

Commit 98c4ad0

Browse files
committed
style: 💄 lint
1 parent 76ea7e6 commit 98c4ad0

File tree

51 files changed

+4328
-2893
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+4328
-2893
lines changed

.github/workflows/auto-merge.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ jobs:
3838

3939
- name: Merge main into git-pages
4040
run: |
41-
git merge main --no-ff -m "feat: ✨ Auto-merge main into git-pages"
42-
41+
git merge main --no-ff -m "feat: ✨ Auto-merge main into git-pages"
42+
4343
- name: Push changes to git-pages
4444
run: git push origin git-pages
4545

.github/workflows/git-pages.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Automatic deployment to GitHub Pages
22

3-
on:
3+
on:
44
push:
55
branches:
66
- git-pages
@@ -16,7 +16,7 @@ jobs:
1616
with:
1717
ref: ${{ github.event_name == 'push' && github.ref || 'git-pages' }}
1818
fetch-depth: 0
19-
19+
2020
- name: Setup pnpm
2121
uses: pnpm/action-setup@v4
2222

@@ -28,7 +28,7 @@ jobs:
2828

2929
- name: Setup Pages
3030
uses: actions/configure-pages@v5
31-
31+
3232
- name: Install dependencies
3333
run: pnpm install
3434

@@ -39,7 +39,7 @@ jobs:
3939
uses: actions/upload-pages-artifact@v3
4040
with:
4141
path: ./dist
42-
42+
4343
deploy:
4444
environment:
4545
name: github-pages

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ jobs:
2626

2727
- run: npx changelogithub # or [email protected] if ensure the stable result
2828
env:
29-
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
29+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

README.CN.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@ npm run build
104104
## Git 贡献提交规范
105105

106106
- 参考 [vue](https://github.com/vuejs/vue/blob/dev/.github/COMMIT_CONVENTION.md) 规范
107-
108107
- `feat` 新增功能
109108
- `fix` 修复缺陷
110109
- `docs` 文档变更

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,6 @@ npm run build
102102
## Git Contribution submission specification
103103

104104
- Refer to [Vue](https://github.com/vuejs/vue/blob/dev/.github/COMMIT_CONVENTION.md) specification
105-
106105
- `feat` New Features
107106
- `fix` Repair defects
108107
- `docs` Document change

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,23 +55,23 @@
5555
"@emotion/babel-plugin": "^11.13.5",
5656
"@emotion/eslint-plugin": "^11.12.0",
5757
"@eslint-react/eslint-plugin": "^1.52.3",
58-
"@jsxiaosi/commitlint-config": "^1.0.11",
59-
"@jsxiaosi/eslint-config": "^1.0.11",
60-
"@jsxiaosi/eslint-config-prettier": "^1.0.11",
58+
"@jsxiaosi/commitlint-config": "^1.0.12",
59+
"@jsxiaosi/eslint-config": "^1.0.12",
60+
"@jsxiaosi/eslint-config-prettier": "^1.0.12",
6161
"@tailwindcss/postcss": "^4.1.11",
6262
"@types/crypto-js": "^4.2.2",
6363
"@types/lodash-es": "^4.17.12",
6464
"@types/react": "^19.1.8",
6565
"@types/react-dom": "^19.1.6",
66-
"@vitejs/plugin-react": "^4.6.0",
67-
"@vitejs/plugin-react-swc": "^3.10.2",
66+
"@vitejs/plugin-react": "^4.7.0",
67+
"@vitejs/plugin-react-swc": "^3.11.0",
6868
"autoprefixer": "^10.4.21",
6969
"commitlint": "^19.8.1",
7070
"conventional-changelog-cli": "^5.0.0",
7171
"crypto-js": "^4.2.0",
7272
"czg": "^1.12.0",
7373
"eslint": "^9.31.0",
74-
"eslint-plugin-prettier": "^5.5.1",
74+
"eslint-plugin-prettier": "^5.5.3",
7575
"eslint-plugin-react": "^7.37.5",
7676
"eslint-plugin-react-hooks": "^5.2.0",
7777
"eslint-plugin-react-refresh": "^0.4.20",

pnpm-lock.yaml

Lines changed: 4236 additions & 2798 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/components/AppLocale/index.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
import { useAppDispatch, useAppSelector } from '@/store/hooks';
2-
import { setAppLocale } from '@/store/modules/app';
31
import { Dropdown } from 'antd';
42
import { memo, useMemo } from 'react';
5-
import type { LocaleType } from '@/locales';
63
import type { MenuProps } from 'antd';
4+
import type { LocaleType } from '@/locales';
5+
import { useAppDispatch, useAppSelector } from '@/store/hooks';
6+
import { setAppLocale } from '@/store/modules/app';
77
import SvgIcon from '../SvgIcon';
88

99
const Locale = memo(() => {

src/components/AppTheme/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
import { theme } from 'antd';
12
import { useAppDispatch, useAppSelector } from '@/store/hooks';
23
import { setAppThemeMode } from '@/store/modules/app';
3-
import { theme } from 'antd';
44
import SvgIcon from '../SvgIcon';
55
import './index.less';
66

src/hooks/useRouteList.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import { ErrorElement } from '@/router/lazy/whiteList';
21
import { Typography } from 'antd';
32
import { redirect } from 'react-router';
4-
import type { MenuItem, RouteList } from '@/router/route';
53
import type { RouteObject } from 'react-router';
4+
import { ErrorElement } from '@/router/lazy/whiteList';
5+
import type { MenuItem, RouteList } from '@/router/route';
66

77
const { Text } = Typography;
88

0 commit comments

Comments
 (0)