diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index fa9119a6..705ae6e0 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -1,45 +1,45 @@ ---- -name: 错误报告 -about: 创建一个报告以帮助我们改进 -title: '' -labels: '' -assignees: '' ---- - -**描述错误** - -简单地描述一下这个错误是什么 - -**复现错误** - -复现该错误行为的步骤 - -1. 跳转到 '...' -2. 点击 '....' -3. 向下滑动到 '....' -4. 查看错误 - -**预期行为** - -简单地描述一下你预期发生的情况 - -**屏幕截图** - -如果可以的话,附上截图以帮助解决你的问题 - -**桌面端(请填写以下信息)** - -- 操作系统 (例如:Windows) -- 浏览器 (例如:Chrome, Safari) -- 软件版本 (例如:1.1.0) - -**移动端(请填写以下信息)** - -- 设备 (例如:iPhone13 Pro) -- 操作系统 (例如:ios 15.1) -- 浏览器 (例如:Chrome, Safari) -- 软件版本 (例如:1.1.0) - -**备注** - -在此添加关于问题的其他备注 +--- +name: 错误报告 +about: 创建一个报告以帮助我们改进 +title: '' +labels: '' +assignees: '' +--- + +**描述错误** + +简单地描述一下这个错误是什么 + +**复现错误** + +复现该错误行为的步骤 + +1. 跳转到 '...' +2. 点击 '....' +3. 向下滑动到 '....' +4. 查看错误 + +**预期行为** + +简单地描述一下你预期发生的情况 + +**屏幕截图** + +如果可以的话,附上截图以帮助解决你的问题 + +**桌面端(请填写以下信息)** + +- 操作系统 (例如:Windows) +- 浏览器 (例如:Chrome, Safari) +- 软件版本 (例如:1.1.0) + +**移动端(请填写以下信息)** + +- 设备 (例如:iPhone13 Pro) +- 操作系统 (例如:ios 15.1) +- 浏览器 (例如:Chrome, Safari) +- 软件版本 (例如:1.1.0) + +**备注** + +在此添加关于问题的其他备注 diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md index ccb87ada..d8bdfca1 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -1,19 +1,19 @@ ---- -name: 新功能请求 -about: 为这个项目提出一个想法 -title: '' -labels: '' -assignees: '' ---- - -**描述你想要的解决方案** - -简单地描述一下你希望发生什么 - -**描述你考虑的替代方案** - -简单地描述一下你考虑过的替代解决方案或功能 - -**备注** - -在这里添加关于该功能请求的任何其他备注或屏幕截图 +--- +name: 新功能请求 +about: 为这个项目提出一个想法 +title: '' +labels: '' +assignees: '' +--- + +**描述你想要的解决方案** + +简单地描述一下你希望发生什么 + +**描述你考虑的替代方案** + +简单地描述一下你考虑过的替代解决方案或功能 + +**备注** + +在这里添加关于该功能请求的任何其他备注或屏幕截图 diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 026156da..b98f52b2 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -3,7 +3,6 @@ 在其中一位合作者批准后,拉取请求将被合并。 请确保在提交您的拉取请求之前填写这些表格,谢谢! - ### 这个变动的性质是 - [ ] 新特性提交 @@ -45,4 +44,4 @@ ### 后续计划(非新功能可选) -> 如果这个提交后面还有相关的其他提交和跟进信息,可以写在这里。 \ No newline at end of file +> 如果这个提交后面还有相关的其他提交和跟进信息,可以写在这里。 diff --git a/.npmrc b/.npmrc deleted file mode 100644 index bf2e7648..00000000 --- a/.npmrc +++ /dev/null @@ -1 +0,0 @@ -shamefully-hoist=true diff --git a/.oxfmtrc.json b/.oxfmtrc.json new file mode 100644 index 00000000..f8569c76 --- /dev/null +++ b/.oxfmtrc.json @@ -0,0 +1,19 @@ +{ + "$schema": "./node_modules/oxfmt/configuration_schema.json", + "arrowParens": "avoid", + "semi": false, + "singleQuote": true, + "trailingComma": "none", + "sortTailwindcss": {}, + "printWidth": 80, + "sortPackageJson": false, + "ignorePatterns": [], + "overrides": [ + { + "files": ["shared/utils/gvlks.ts"], + "options": { + "printWidth": 200 + } + } + ] +} diff --git a/.vscode/settings.json b/.vscode/settings.json index d4959144..0cd33c9c 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,5 +1,6 @@ { "chat.tools.terminal.autoApprove": { "/.*/": true }, "chat.tools.terminal.ignoreDefaultAutoApproveRules": true, + "editor.defaultFormatter": "oxc.oxc-vscode", "editor.formatOnSave": true } diff --git a/app/app.vue b/app/app.vue index b1f9ce1d..49bb58fd 100644 --- a/app/app.vue +++ b/app/app.vue @@ -1,5 +1,18 @@ @@ -110,7 +110,7 @@ const { copy, copied } = useClipboard({ :label="item.host" class="[&>*]:w-full" > -