Skip to content

Commit be83ac8

Browse files
committed
chore: fix prettier config
1 parent edfac9f commit be83ac8

35 files changed

+1685
-1745
lines changed

.github/ISSUE_TEMPLATE/bug_report_en.yml

Lines changed: 74 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -3,86 +3,86 @@ description: Submit discovered bugs
33
labels: ['RSS bug']
44

55
body:
6-
- type: markdown
7-
attributes:
8-
value: |
9-
Please ensure you have read [documentation](https://docs.rsshub.app/), and provide all the information required by this template, otherwise the issue will be closed immediately.
10-
Due to the anti-crawling policy implemented by certain websites, some RSS routes provided by the demo will return status code 403 or fetch failed. This is not an issue caused by RSSHub and please do not report it.
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Please ensure you have read [documentation](https://docs.rsshub.app/), and provide all the information required by this template, otherwise the issue will be closed immediately.
10+
Due to the anti-crawling policy implemented by certain websites, some RSS routes provided by the demo will return status code 403 or fetch failed. This is not an issue caused by RSSHub and please do not report it.
1111
12-
- type: textarea
13-
id: routes
14-
attributes:
15-
label: Routes
16-
description: The involved route, without any parameters, copied directly from the docs "route" field, one link per line. Use `NOROUTE` if it is not route related.
17-
placeholder: /someroute/:type?
18-
render: routes
19-
validations:
20-
required: true
21-
22-
- type: textarea
23-
id: fullroutes
24-
attributes:
25-
label: Full routes
26-
description: The involved route, with all required and optional parameters, and could be duplicate if necessary (different parameters)
27-
placeholder: /routes/1234?some_extension=mode
28-
render: fullroutes
29-
validations:
30-
required: true
12+
- type: textarea
13+
id: routes
14+
attributes:
15+
label: Routes
16+
description: The involved route, without any parameters, copied directly from the docs "route" field, one link per line. Use `NOROUTE` if it is not route related.
17+
placeholder: /someroute/:type?
18+
render: routes
19+
validations:
20+
required: true
3121

32-
- type: input
33-
id: docs-link
34-
attributes:
35-
label: Related documentation
36-
description: Link to related documentation
37-
placeholder: https://docs.rsshub.app/...
38-
validations:
39-
required: true
22+
- type: textarea
23+
id: fullroutes
24+
attributes:
25+
label: Full routes
26+
description: The involved route, with all required and optional parameters, and could be duplicate if necessary (different parameters)
27+
placeholder: /routes/1234?some_extension=mode
28+
render: fullroutes
29+
validations:
30+
required: true
4031

41-
- type: textarea
42-
id: what-expected
43-
attributes:
44-
label: What is expected?
45-
validations:
46-
required: true
32+
- type: input
33+
id: docs-link
34+
attributes:
35+
label: Related documentation
36+
description: Link to related documentation
37+
placeholder: https://docs.rsshub.app/...
38+
validations:
39+
required: true
4740

48-
- type: textarea
49-
id: actual-happened
50-
attributes:
51-
label: What is actually happening?
52-
validations:
53-
required: true
41+
- type: textarea
42+
id: what-expected
43+
attributes:
44+
label: What is expected?
45+
validations:
46+
required: true
5447

55-
- type: dropdown
56-
id: deployment
57-
attributes:
58-
label: Deployment information
59-
multiple: false
60-
options:
61-
- Self-hosted
62-
- RSSHub demo (https://rsshub.app)
63-
validations:
64-
required: true
48+
- type: textarea
49+
id: actual-happened
50+
attributes:
51+
label: What is actually happening?
52+
validations:
53+
required: true
6554

66-
- type: input
67-
id: deploy-info
68-
attributes:
69-
label: Deployment information (for self-hosted)
70-
description: Please provide your OS, node version, docker version and environment variables (if applicable)
71-
placeholder: 'OS: Linux, Node: v10.15.3, Docker: v19.03.13'
55+
- type: dropdown
56+
id: deployment
57+
attributes:
58+
label: Deployment information
59+
multiple: false
60+
options:
61+
- Self-hosted
62+
- RSSHub demo (https://rsshub.app)
63+
validations:
64+
required: true
7265

73-
- type: textarea
74-
id: logs
75-
attributes:
76-
label: Additional info
77-
description: logs, errors, etc.
78-
render: shell
79-
validations:
80-
required: true
66+
- type: input
67+
id: deploy-info
68+
attributes:
69+
label: Deployment information (for self-hosted)
70+
description: Please provide your OS, node version, docker version and environment variables (if applicable)
71+
placeholder: 'OS: Linux, Node: v10.15.3, Docker: v19.03.13'
8172

82-
- type: checkboxes
83-
id: terms
84-
attributes:
85-
label: This is not a duplicated issue
86-
options:
87-
- label: I have searched [existing issues](https://github.com/DIYgod/RSSHub/issues) to ensure this bug has not already been reported
73+
- type: textarea
74+
id: logs
75+
attributes:
76+
label: Additional info
77+
description: logs, errors, etc.
78+
render: shell
79+
validations:
8880
required: true
81+
82+
- type: checkboxes
83+
id: terms
84+
attributes:
85+
label: This is not a duplicated issue
86+
options:
87+
- label: I have searched [existing issues](https://github.com/DIYgod/RSSHub/issues) to ensure this bug has not already been reported
88+
required: true

.github/ISSUE_TEMPLATE/bug_report_zh.yml

Lines changed: 76 additions & 76 deletions
Original file line numberDiff line numberDiff line change
@@ -3,88 +3,88 @@ description: 早起的小可爱有虫抓
33
labels: ['RSS bug']
44

55
body:
6-
- type: markdown
7-
attributes:
8-
value: |
9-
请确保已阅读 [文档](https://docs.rsshub.app) 内相关部分,并按照模版提供信息,否则 issue 将被立即关闭。
10-
由于部分源网站反爬缘故,演示地址一些 RSS 会返回 status code 403 或 fetch failed,该问题不是 RSSHub 所致,请勿提交 issue。
6+
- type: markdown
7+
attributes:
8+
value: |
9+
请确保已阅读 [文档](https://docs.rsshub.app) 内相关部分,并按照模版提供信息,否则 issue 将被立即关闭。
10+
由于部分源网站反爬缘故,演示地址一些 RSS 会返回 status code 403 或 fetch failed,该问题不是 RSSHub 所致,请勿提交 issue。
1111
12-
- type: textarea
13-
id: routes
14-
attributes:
15-
label: 路由地址
16-
description: 不包含参数,复制文档路由参数,一行一个,不要重复。如果和路由没有关系,请写 `NOROUTE`
17-
placeholder: /someroute/:type?
18-
render: routes
19-
validations:
20-
required: true
21-
22-
- type: textarea
23-
id: fullroutes
24-
attributes:
25-
label: 完整路由地址
26-
description: 包含所有必选与可选参数,一行一个,可以有重复路由不同参数(如果需要)
27-
placeholder: /routes/1234?some_extension=mode
28-
render: fullroutes
29-
validations:
30-
required: true
12+
- type: textarea
13+
id: routes
14+
attributes:
15+
label: 路由地址
16+
description: 不包含参数,复制文档路由参数,一行一个,不要重复。如果和路由没有关系,请写 `NOROUTE`
17+
placeholder: /someroute/:type?
18+
render: routes
19+
validations:
20+
required: true
3121

32-
- type: input
33-
id: docs-link
34-
attributes:
35-
label: 相关文档
36-
description: 相关文档地址
37-
placeholder: https://docs.rsshub.app/...
38-
validations:
39-
required: true
22+
- type: textarea
23+
id: fullroutes
24+
attributes:
25+
label: 完整路由地址
26+
description: 包含所有必选与可选参数,一行一个,可以有重复路由不同参数(如果需要)
27+
placeholder: /routes/1234?some_extension=mode
28+
render: fullroutes
29+
validations:
30+
required: true
4031

41-
- type: textarea
42-
id: what-expected
43-
attributes:
44-
label: 预期是什么?
45-
validations:
46-
required: true
32+
- type: input
33+
id: docs-link
34+
attributes:
35+
label: 相关文档
36+
description: 相关文档地址
37+
placeholder: https://docs.rsshub.app/...
38+
validations:
39+
required: true
4740

48-
- type: textarea
49-
id: actual-happened
50-
attributes:
51-
label: 实际发生了什么
52-
validations:
53-
required: true
41+
- type: textarea
42+
id: what-expected
43+
attributes:
44+
label: 预期是什么
45+
validations:
46+
required: true
5447

55-
- type: dropdown
56-
id: deployment
57-
attributes:
58-
label: 部署
59-
multiple: false
60-
options:
61-
- 自建
62-
- RSSHub 演示 (https://rsshub.app)
63-
validations:
64-
required: true
48+
- type: textarea
49+
id: actual-happened
50+
attributes:
51+
label: 实际发生了什么?
52+
validations:
53+
required: true
6554

66-
- type: input
67-
id: deploy-info
68-
attributes:
69-
label: 部署相关信息
70-
description: |
71-
请提供您的操作系统、node 版本、(如果适用) docker 版本和环境变量。
72-
请确保您部署的是 [主线 master 分支](https://github.com/DIYgod/RSSHub/tree/master) 最新版 RSSHub。
73-
placeholder: 'OS: Linux, Node: v10.15.3, Docker: v19.03.13'
55+
- type: dropdown
56+
id: deployment
57+
attributes:
58+
label: 部署
59+
multiple: false
60+
options:
61+
- 自建
62+
- RSSHub 演示 (https://rsshub.app)
63+
validations:
64+
required: true
7465

75-
- type: textarea
76-
id: logs
77-
attributes:
78-
label: 额外信息
79-
description: 日志、报错等
80-
render: shell
81-
validations:
82-
required: true
66+
- type: input
67+
id: deploy-info
68+
attributes:
69+
label: 部署相关信息
70+
description: |
71+
请提供您的操作系统、node 版本、(如果适用) docker 版本和环境变量。
72+
请确保您部署的是 [主线 master 分支](https://github.com/DIYgod/RSSHub/tree/master) 最新版 RSSHub。
73+
placeholder: 'OS: Linux, Node: v10.15.3, Docker: v19.03.13'
8374

84-
- type: checkboxes
85-
id: terms
86-
attributes:
87-
label: 这不是重复的 issue
88-
options:
89-
- label: 我已经搜索了 [现有 issue](https://github.com/DIYgod/RSSHub/issues),以确保该错误尚未被报告。
75+
- type: textarea
76+
id: logs
77+
attributes:
78+
label: 额外信息
79+
description: 日志、报错等
80+
render: shell
81+
validations:
9082
required: true
83+
84+
- type: checkboxes
85+
id: terms
86+
attributes:
87+
label: 这不是重复的 issue
88+
options:
89+
- label: 我已经搜索了 [现有 issue](https://github.com/DIYgod/RSSHub/issues),以确保该错误尚未被报告。
90+
required: true

.github/ISSUE_TEMPLATE/feature_request_en.yml

Lines changed: 31 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -3,39 +3,38 @@ description: Submit a new feature request
33
labels: ['RSS enhancement']
44

55
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Please ensure the feature requested is not listed in [documentation](https://docs.rsshub.app/) or [issue](https://github.com/DIYgod/RSSHub/issues), and is not a [new RSS proposal](https://github.com/DIYgod/RSSHub/issues/new?assignees=&labels=RSS+proposal&template=rss_request_en.yml), and provide all the information required by this template.
10+
Otherwise the issue will be closed immediately.
611
7-
- type: markdown
8-
attributes:
9-
value: |
10-
Please ensure the feature requested is not listed in [documentation](https://docs.rsshub.app/) or [issue](https://github.com/DIYgod/RSSHub/issues), and is not a [new RSS proposal](https://github.com/DIYgod/RSSHub/issues/new?assignees=&labels=RSS+proposal&template=rss_request_en.yml), and provide all the information required by this template.
11-
Otherwise the issue will be closed immediately.
12-
13-
- type: textarea
14-
id: feature
15-
attributes:
16-
label: What feature is it?
17-
placeholder: Please describe the feature you want to see.
18-
validations:
19-
required: true
12+
- type: textarea
13+
id: feature
14+
attributes:
15+
label: What feature is it?
16+
placeholder: Please describe the feature you want to see.
17+
validations:
18+
required: true
2019

21-
- type: textarea
22-
id: problem
23-
attributes:
24-
label: What problem does this feature solve?
25-
placeholder: Please describe the problem this feature solves.
26-
validations:
27-
required: true
20+
- type: textarea
21+
id: problem
22+
attributes:
23+
label: What problem does this feature solve?
24+
placeholder: Please describe the problem this feature solves.
25+
validations:
26+
required: true
2827

29-
- type: textarea
30-
id: description
31-
attributes:
32-
label: Additional description
33-
placeholder: Any additional description.
28+
- type: textarea
29+
id: description
30+
attributes:
31+
label: Additional description
32+
placeholder: Any additional description.
3433

35-
- type: checkboxes
36-
id: terms
37-
attributes:
38-
label: This is not a duplicated feature request or new RSS proposal
39-
options:
40-
- label: I have searched [existing issues](https://github.com/DIYgod/RSSHub/issues) to ensure this feature has not already been requested and this is not a [new RSS proposal](https://github.com/DIYgod/RSSHub/issues/new?assignees=&labels=RSS+proposal&template=rss_request_en.yml).
41-
required: true
34+
- type: checkboxes
35+
id: terms
36+
attributes:
37+
label: This is not a duplicated feature request or new RSS proposal
38+
options:
39+
- label: I have searched [existing issues](https://github.com/DIYgod/RSSHub/issues) to ensure this feature has not already been requested and this is not a [new RSS proposal](https://github.com/DIYgod/RSSHub/issues/new?assignees=&labels=RSS+proposal&template=rss_request_en.yml).
40+
required: true

0 commit comments

Comments
 (0)