Skip to content

Commit 13c1c6d

Browse files
✨ feat: Root
0 parents  commit 13c1c6d

36 files changed

+1716
-0
lines changed

.bunfig.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[install.lockfile]
2+
3+
save = false

.changelogrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
module.exports = require('@lobehub/lint').changelog;

.commitlintrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
module.exports = require('@lobehub/lint').commitlint;

.eslintignore

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Eslintignore for LobeHub
2+
################################################################
3+
4+
# dependencies
5+
node_modules
6+
7+
# ci
8+
coverage
9+
.coverage
10+
11+
# test
12+
jest*
13+
_test_
14+
__test__
15+
*.test.ts
16+
17+
# umi
18+
.umi
19+
.umi-production
20+
.umi-test
21+
.dumi/tmp*
22+
!.dumirc.ts
23+
24+
# production
25+
dist
26+
es
27+
src/libs
28+
logs
29+
30+
# misc
31+
# add other ignore file below
32+
.next

.eslintrc.js

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
const config = require('@lobehub/lint').eslint;
2+
3+
config.rules['unicorn/no-negated-condition'] = 0;
4+
config.rules['unicorn/prefer-type-error'] = 0;
5+
config.rules['unicorn/prefer-logical-operator-over-ternary'] = 0;
6+
config.rules['unicorn/no-null'] = 0;
7+
config.rules['unicorn/no-typeof-undefined'] = 0;
8+
config.rules['unicorn/explicit-length-check'] = 0;
9+
config.rules['unicorn/prefer-code-point'] = 0;
10+
config.rules['no-extra-boolean-cast'] = 0;
11+
config.rules['unicorn/no-useless-undefined'] = 0;
12+
config.rules['react/no-unknown-property'] = 0;
13+
config.rules['unicorn/prefer-ternary'] = 0;
14+
config.rules['unicorn/prefer-spread'] = 0;
15+
config.rules['unicorn/catch-error-name'] = 0;
16+
config.rules['unicorn/no-array-for-each'] = 0;
17+
config.rules['unicorn/prefer-number-properties'] = 0;
18+
config.rules['unicorn/prefer-query-selector'] = 0;
19+
config.rules['unicorn/no-array-callback-reference'] = 0;
20+
config.rules['unicorn/prefer-top-level-await'] = 0;
21+
22+
module.exports = config;
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: '🐛 反馈缺陷 Bug Report'
2+
description: '反馈一个问题缺陷 | Report an bug'
3+
title: '[Bug] '
4+
labels: '🐛 Bug'
5+
body:
6+
- type: dropdown
7+
attributes:
8+
label: '💻 系统环境 | Operating System'
9+
options:
10+
- Windows
11+
- macOS
12+
- Ubuntu
13+
- Other Linux
14+
- Other
15+
validations:
16+
required: true
17+
- type: dropdown
18+
attributes:
19+
label: '🌐 浏览器 | Browser'
20+
options:
21+
- Chrome
22+
- Edge
23+
- Safari
24+
- Firefox
25+
- Other
26+
validations:
27+
required: true
28+
- type: textarea
29+
attributes:
30+
label: '🐛 问题描述 | Bug Description'
31+
description: A clear and concise description of the bug.
32+
validations:
33+
required: true
34+
- type: textarea
35+
attributes:
36+
label: '🚦 期望结果 | Expected Behavior'
37+
description: A clear and concise description of what you expected to happen.
38+
- type: textarea
39+
attributes:
40+
label: '📷 复现步骤 | Recurrence Steps'
41+
description: A clear and concise description of how to recurrence.
42+
- type: textarea
43+
attributes:
44+
label: '📝 补充信息 | Additional Information'
45+
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.
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: '🌠 功能需求 Feature Request'
2+
description: '需求或建议 | Suggest an idea'
3+
title: '[Request] '
4+
labels: '🌠 Feature Request'
5+
body:
6+
- type: textarea
7+
attributes:
8+
label: '🥰 需求描述 | Feature Description'
9+
description: Please add a clear and concise description of the problem you are seeking to solve with this feature request.
10+
validations:
11+
required: true
12+
- type: textarea
13+
attributes:
14+
label: '🧐 解决方案 | Proposed Solution'
15+
description: Describe the solution you'd like in a clear and concise manner.
16+
validations:
17+
required: true
18+
- type: textarea
19+
attributes:
20+
label: '📝 补充信息 | Additional Information'
21+
description: Add any other context about the problem here.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: '😇 疑问或帮助 Help Wanted'
2+
description: '疑问或需要帮助 | Need help'
3+
title: '[Question] '
4+
labels: '😇 Help Wanted'
5+
body:
6+
- type: textarea
7+
attributes:
8+
label: '🧐 问题描述 | Proposed Solution'
9+
description: A clear and concise description of the proplem.
10+
validations:
11+
required: true
12+
- type: textarea
13+
attributes:
14+
label: '📝 补充信息 | Additional Information'
15+
description: Add any other context about the problem here.

.github/ISSUE_TEMPLATE/4_other.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
name: '📝 其他 Other'
3+
about: '其他问题 | Other issues'
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
---

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#### 💻 变更类型 | Change Type
2+
3+
<!-- For change type, change [ ] to [x]. -->
4+
5+
- [ ] ✨ feat
6+
- [ ] 🐛 fix
7+
- [ ] ♻️ refactor
8+
- [ ] 💄 style
9+
- [ ] 🔨 chore
10+
- [ ] 📝 docs
11+
12+
#### 🔀 变更说明 | Description of Change
13+
14+
<!-- Thank you for your Pull Request. Please provide a description above. -->
15+
16+
#### 📝 补充信息 | Additional Information
17+
18+
<!-- Add any other context about the Pull Request here. -->

0 commit comments

Comments
 (0)