Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

style: 代码规范 #5954

Closed
wants to merge 8 commits into from
Closed
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .eslintignore

This file was deleted.

7 changes: 0 additions & 7 deletions .eslintrc.json

This file was deleted.

156 changes: 78 additions & 78 deletions .github/ISSUE_TEMPLATE/1_bug_report.yml
Original file line number Diff line number Diff line change
@@ -1,80 +1,80 @@
name: '🐛 Bug Report'
description: 'Report an bug'
name: 🐛 Bug Report
description: Report an bug
title: '[Bug] '
labels: ['bug']
labels: [bug]
body:
- type: dropdown
attributes:
label: '📦 Deployment Method'
multiple: true
options:
- 'Official installation package'
- 'Vercel'
- 'Zeabur'
- 'Sealos'
- 'Netlify'
- 'Docker'
- 'Other'
validations:
required: true
- type: input
attributes:
label: '📌 Version'
validations:
required: true
- type: dropdown
attributes:
label: '💻 Operating System'
multiple: true
options:
- 'Windows'
- 'macOS'
- 'Ubuntu'
- 'Other Linux'
- 'iOS'
- 'iPad OS'
- 'Android'
- 'Other'
validations:
required: true
- type: input
attributes:
label: '📌 System Version'
validations:
required: true
- type: dropdown
attributes:
label: '🌐 Browser'
multiple: true
options:
- 'Chrome'
- 'Edge'
- 'Safari'
- 'Firefox'
- 'Other'
validations:
required: true
- type: input
attributes:
label: '📌 Browser Version'
validations:
required: true
- type: textarea
attributes:
label: '🐛 Bug Description'
description: A clear and concise description of the bug, if the above option is `Other`, please also explain in detail.
validations:
required: true
- type: textarea
attributes:
label: '📷 Recurrence Steps'
description: A clear and concise description of how to recurrence.
- type: textarea
attributes:
label: '🚦 Expected Behavior'
description: A clear and concise description of what you expected to happen.
- type: textarea
attributes:
label: '📝 Additional Information'
description: If your problem needs further explanation, or if the issue you're seeing cannot be reproduced in a gist, please add more information here.
- type: dropdown
attributes:
label: 📦 Deployment Method
multiple: true
options:
- Official installation package
- Vercel
- Zeabur
- Sealos
- Netlify
- Docker
- Other
validations:
required: true
- type: input
attributes:
label: 📌 Version
validations:
required: true

- type: dropdown
attributes:
label: 💻 Operating System
multiple: true
options:
- Windows
- macOS
- Ubuntu
- Other Linux
- iOS
- iPad OS
- Android
- Other
validations:
required: true
- type: input
attributes:
label: 📌 System Version
validations:
required: true
- type: dropdown
attributes:
label: 🌐 Browser
multiple: true
options:
- Chrome
- Edge
- Safari
- Firefox
- Other
validations:
required: true
- type: input
attributes:
label: 📌 Browser Version
validations:
required: true
- type: textarea
attributes:
label: 🐛 Bug Description
description: A clear and concise description of the bug, if the above option is `Other`, please also explain in detail.
validations:
required: true
- type: textarea
attributes:
label: 📷 Recurrence Steps
description: A clear and concise description of how to recurrence.
- type: textarea
attributes:
label: 🚦 Expected Behavior
description: A clear and concise description of what you expected to happen.
- type: textarea
attributes:
label: 📝 Additional Information
description: If your problem needs further explanation, or if the issue you're seeing cannot be reproduced in a gist, please add more information here.
154 changes: 77 additions & 77 deletions .github/ISSUE_TEMPLATE/1_bug_report_cn.yml
Original file line number Diff line number Diff line change
@@ -1,80 +1,80 @@
name: '🐛 反馈缺陷'
description: '反馈一个问题/缺陷'
name: 🐛 反馈缺陷
description: 反馈一个问题/缺陷
title: '[Bug] '
labels: ['bug']
labels: [bug]
body:
- type: dropdown
attributes:
label: '📦 部署方式'
multiple: true
options:
- '官方安装包'
- 'Vercel'
- 'Zeabur'
- 'Sealos'
- 'Netlify'
- 'Docker'
- 'Other'
validations:
required: true
- type: input
attributes:
label: '📌 软件版本'
validations:
required: true
- type: dropdown
attributes:
label: 📦 部署方式
multiple: true
options:
- 官方安装包
- Vercel
- Zeabur
- Sealos
- Netlify
- Docker
- Other
validations:
required: true
- type: input
attributes:
label: 📌 软件版本
validations:
required: true

- type: dropdown
attributes:
label: '💻 系统环境'
multiple: true
options:
- 'Windows'
- 'macOS'
- 'Ubuntu'
- 'Other Linux'
- 'iOS'
- 'iPad OS'
- 'Android'
- 'Other'
validations:
required: true
- type: input
attributes:
label: '📌 系统版本'
validations:
required: true
- type: dropdown
attributes:
label: '🌐 浏览器'
multiple: true
options:
- 'Chrome'
- 'Edge'
- 'Safari'
- 'Firefox'
- 'Other'
validations:
required: true
- type: input
attributes:
label: '📌 浏览器版本'
validations:
required: true
- type: textarea
attributes:
label: '🐛 问题描述'
description: 请提供一个清晰且简洁的问题描述,若上述选项为`Other`,也请详细说明。
validations:
required: true
- type: textarea
attributes:
label: '📷 复现步骤'
description: 请提供一个清晰且简洁的描述,说明如何复现问题。
- type: textarea
attributes:
label: '🚦 期望结果'
description: 请提供一个清晰且简洁的描述,说明您期望发生什么。
- type: textarea
attributes:
label: '📝 补充信息'
description: 如果您的问题需要进一步说明,或者您遇到的问题无法在一个简单的示例中复现,请在这里添加更多信息。
- type: dropdown
attributes:
label: 💻 系统环境
multiple: true
options:
- Windows
- macOS
- Ubuntu
- Other Linux
- iOS
- iPad OS
- Android
- Other
validations:
required: true
- type: input
attributes:
label: 📌 系统版本
validations:
required: true
- type: dropdown
attributes:
label: 🌐 浏览器
multiple: true
options:
- Chrome
- Edge
- Safari
- Firefox
- Other
validations:
required: true
- type: input
attributes:
label: 📌 浏览器版本
validations:
required: true
- type: textarea
attributes:
label: 🐛 问题描述
description: 请提供一个清晰且简洁的问题描述,若上述选项为`Other`,也请详细说明。
validations:
required: true
- type: textarea
attributes:
label: 📷 复现步骤
description: 请提供一个清晰且简洁的描述,说明如何复现问题。
- type: textarea
attributes:
label: 🚦 期望结果
description: 请提供一个清晰且简洁的描述,说明您期望发生什么。
- type: textarea
attributes:
label: 📝 补充信息
description: 如果您的问题需要进一步说明,或者您遇到的问题无法在一个简单的示例中复现,请在这里添加更多信息。
38 changes: 19 additions & 19 deletions .github/ISSUE_TEMPLATE/2_feature_request.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
name: '🌠 Feature Request'
description: 'Suggest an idea'
name: 🌠 Feature Request
description: Suggest an idea
title: '[Feature Request] '
labels: ['enhancement']
labels: [enhancement]
body:
- type: textarea
attributes:
label: '🥰 Feature Description'
description: Please add a clear and concise description of the problem you are seeking to solve with this feature request.
validations:
required: true
- type: textarea
attributes:
label: '🧐 Proposed Solution'
description: Describe the solution you'd like in a clear and concise manner.
validations:
required: true
- type: textarea
attributes:
label: '📝 Additional Information'
description: Add any other context about the problem here.
- type: textarea
attributes:
label: 🥰 Feature Description
description: Please add a clear and concise description of the problem you are seeking to solve with this feature request.
validations:
required: true
- type: textarea
attributes:
label: 🧐 Proposed Solution
description: Describe the solution you'd like in a clear and concise manner.
validations:
required: true
- type: textarea
attributes:
label: 📝 Additional Information
description: Add any other context about the problem here.
Loading