diff --git a/.eslintrc.json b/.eslintrc.json index 6c1da17d..70ba41d1 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -13,6 +13,12 @@ { "newlines-between": "always" } + ], + "no-else-return": [ + "error", + { + "allowElseIf": true + } ] }, "settings": { diff --git a/.github/DISCUSSION_TEMPLATE/support.yml b/.github/DISCUSSION_TEMPLATE/support.yml index fd577908..8471940b 100644 --- a/.github/DISCUSSION_TEMPLATE/support.yml +++ b/.github/DISCUSSION_TEMPLATE/support.yml @@ -1,4 +1,11 @@ body: + - type: markdown + attributes: + value: | + ### ⚠️ Before opening a discussion: + + - [Check the troubleshooting guide](https://gethomepage.dev/troubleshooting/). + - [Search existing issues](https://github.com/gethomepage/homepage/search?q=&type=issues) [and discussions](https://github.com/gethomepage/homepage/search?q=&type=discussions). - type: textarea id: description attributes: @@ -44,6 +51,6 @@ body: id: troubleshooting attributes: label: Troubleshooting - description: Please include output from your [troubleshooting tests](https://gethomepage.dev/latest/more/troubleshooting/#service-widget-errors), if relevant. + description: Please include output from your [troubleshooting tests](https://gethomepage.dev/more/troubleshooting/#service-widget-errors), if relevant. validations: required: true diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index bf4fa386..1d9e6243 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -3,7 +3,7 @@