Skip to content

Commit c08c2cb

Browse files
committed
refactor: 更新 eslint 和 prettier 配置 格式化代码
1 parent d1f5c8a commit c08c2cb

File tree

134 files changed

+3848
-3262
lines changed

Some content is hidden

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

134 files changed

+3848
-3262
lines changed

.eslintignore

Lines changed: 0 additions & 4 deletions
This file was deleted.

.eslintrc.cjs

Lines changed: 0 additions & 137 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/bug-report.zh-CN.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: 反馈 Bug
22
description: 通过 github 模板进行 Bug 反馈。
3-
title: "描述问题的标题"
3+
title: '描述问题的标题'
44
body:
55
- type: markdown
66
attributes:

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
blank_issues_enabled: true
22
contact_links:
3-
- name:
4-
url:
5-
about:
3+
- name:
4+
url:
5+
about:

.github/ISSUE_TEMPLATE/feature-report.zh-CN.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: 反馈新功能
22
description: 通过 github 模板进行新功能反馈。
3-
title: "描述问题的标题"
3+
title: '描述问题的标题'
44
body:
55
- type: markdown
66
attributes:

.github/issue-shoot.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
## IssueShoot
2+
23
- 预估时长: {{ .duration }}
34
- 期望完成时间: {{ .deadline }}
45
- 开发难度: {{ .level }}

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ on:
88
jobs:
99
release:
1010
runs-on: ${{ matrix.os }}
11-
11+
1212
strategy:
1313
matrix:
1414
os: [macos-latest, windows-latest, ubuntu-latest]
15-
15+
1616
steps:
1717
- name: Check out Git repository
1818
uses: actions/checkout@v4
@@ -85,4 +85,4 @@ jobs:
8585
draft: false
8686
prerelease: false
8787
env:
88-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
88+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/deploy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
uses: actions/setup-node@v3
1717
with:
1818
node-version: '18'
19-
19+
2020
- name: 创建环境变量文件
2121
run: |
2222
echo "VITE_API=${{ secrets.VITE_API }}" > .env.production.local
@@ -36,7 +36,7 @@ jobs:
3636
host: ${{ secrets.SERVER_HOST }}
3737
username: ${{ secrets.SERVER_USERNAME }}
3838
key: ${{ secrets.DEPLOY_KEY }}
39-
source: "out/renderer/*"
39+
source: 'out/renderer/*'
4040
target: ${{ secrets.DEPLOY_PATH }}
4141
strip_components: 2
4242

@@ -48,4 +48,4 @@ jobs:
4848
key: ${{ secrets.DEPLOY_KEY }}
4949
script: |
5050
cd ${{ secrets.DEPLOY_PATH }}
51-
echo "部署完成于 $(date)"
51+
echo "部署完成于 $(date)"

.prettierrc.yaml

Lines changed: 0 additions & 5 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,32 @@
11
# 更新日志
22

33
## v4.8.2
4+
45
### 🎨 优化
6+
57
- 重新设计pc端歌词页面Mini播放栏
68
- 添加清除歌曲自定义解析功能
79

810
### 🐛 Bug 修复
11+
912
- 修复歌曲单独解析失败问题
1013
- 修复歌词页面加入歌单抽屉被遮挡问题
1114

12-
1315
## v4.8.1
1416

1517
### 🐛 Bug 修复
18+
1619
- 修复无法快捷键调整问题
1720

1821
### 🎨 优化
22+
1923
- 优化音乐资源解析
2024
- 去除无用代码,优化加载速度
2125

22-
23-
2426
## v4.8.0
2527

2628
### ✨ 新功能
29+
2730
- 增强移动端播放页面效果,添加播放模式选择,添加横屏模式,添加播放列表功能 ([81b61e4](https://github.com/algerkong/AlgerMusicPlayer/commit/81b61e4)),([0d89e15](https://github.com/algerkong/AlgerMusicPlayer/commit/0d89e15)),([9345805](https://github.com/algerkong/AlgerMusicPlayer/commit/9345805))
2831
- 优化移动端界面动画效果,播放栏,返回效果等一系列功能
2932
- 添加下载管理页面, 引入文件类型检测库以支持多种音频格式,支持自定义文件名格式和下载路径配置 ([3ac3159](https://github.com/algerkong/AlgerMusicPlayer/commit/3ac3159)),([b203077](https://github.com/algerkong/AlgerMusicPlayer/commit/b203077))
@@ -34,16 +37,17 @@
3437
- 添加歌词时间矫正功能,支持增加和减少矫正时间 ([c975344](https://github.com/algerkong/AlgerMusicPlayer/commit/c975344))
3538

3639
### 🐛 Bug 修复
37-
- 修复音频初始化音量问题,完善翻译 ([#320](https://github.com/algerkong/AlgerMusicPlayer/pull/320)) 感谢[Qumo](https://github.com/Hellodwadawd12312312)的pr
40+
41+
- 修复音频初始化音量问题,完善翻译 ([#320](https://github.com/algerkong/AlgerMusicPlayer/pull/320)) 感谢[Qumo](https://github.com/Hellodwadawd12312312)的pr
3842
- 重构每日推荐数据加载逻辑,提取为独立函数并优化用户状态判断 ([5e704a1](https://github.com/algerkong/AlgerMusicPlayer/commit/5e704a1))
3943
- 修复刷新后第一次播放出现的无法播放问题 ([6f1909a](https://github.com/algerkong/AlgerMusicPlayer/commit/6f1909a))
4044
- 修复更多设置弹窗被歌词窗口遮挡问题,并优化为互斥弹窗,优化样式 ([62e5166](https://github.com/algerkong/AlgerMusicPlayer/commit/62e5166))
4145
- 修复设置页面动画速度滑块样式和文本错误 ([e5adb8a](https://github.com/algerkong/AlgerMusicPlayer/commit/e5adb8a))
4246
- 修复音频服务相关问题 ([090103b](https://github.com/algerkong/AlgerMusicPlayer/commit/090103b)),([5ee60d7](https://github.com/algerkong/AlgerMusicPlayer/commit/5ee60d7))
4347
- 修复播放栏无法控制隐藏问题 ([d227ac8](https://github.com/algerkong/AlgerMusicPlayer/commit/d227ac8))
4448

45-
4649
### 🎨 优化
50+
4751
- 优化歌曲列表组件布局([fabcf28](https://github.com/algerkong/AlgerMusicPlayer/commit/fabcf28))
4852
- 重构播放控制逻辑,添加播放进度恢复功能并清理无用代码 ([b9c38d2](https://github.com/algerkong/AlgerMusicPlayer/commit/b9c38d2))
4953
- 优化提示组件,支持位置和图标显示选项 ([155bdf2](https://github.com/algerkong/AlgerMusicPlayer/commit/155bdf2))
@@ -53,7 +57,9 @@
5357
- 代码优化
5458

5559
## 赞赏支持☕️
60+
5661
[赞赏列表](http://donate.alger.fun/)
62+
5763
<table>
5864
<tr>
5965
<th style="text-align:center">微信赞赏</th>

0 commit comments

Comments
 (0)