Skip to content
This repository has been archived by the owner on Oct 10, 2024. It is now read-only.

Commit

Permalink
style: prettier (#8066)
Browse files Browse the repository at this point in the history
  • Loading branch information
schmelto authored Sep 27, 2023
1 parent 51e470b commit eea616a
Show file tree
Hide file tree
Showing 28 changed files with 70 additions and 69 deletions.
32 changes: 16 additions & 16 deletions .github/ISSUE_TEMPLATE/github-sponsors-profile-review.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
name: GitHub Sponsors Profile Review
description: Please review my GitHub Sponsors profile on a livestream
title: "[REVIEW] <profile name here>"
labels: [gh sponsor review, live stream review]
body:
- type: input
id: link
attributes:
label: GitHub Sponsor profile link
validations:
required: true
- type: markdown
attributes:
value: |
You can also join our Discord community [here](http://discord.eddiehub.org)
Feel free to check out other cool repositories of the EddieHub Community [here](https://github.com/EddieHubCommunity)
name: GitHub Sponsors Profile Review
description: Please review my GitHub Sponsors profile on a livestream
title: "[REVIEW] <profile name here>"
labels: [gh sponsor review, live stream review]
body:
- type: input
id: link
attributes:
label: GitHub Sponsor profile link
validations:
required: true
- type: markdown
attributes:
value: |
You can also join our Discord community [here](http://discord.eddiehub.org)
Feel free to check out other cool repositories of the EddieHub Community [here](https://github.com/EddieHubCommunity)
1 change: 1 addition & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<!-- If applicable, reference the issue number that this PR closes -->

closes #ISSUE-NO

#### What does this PR do?
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/community.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ jobs:
- uses: EddieHubCommunity/gh-action-community/src/welcome@main
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
issue-message: '<h1>It''s great having you contribute to this project</h1> Welcome to the community :nerd_face:'
pr-message: '<h1>It''s great having you contribute to this project</h1> Welcome to the community :nerd_face:'
issue-message: "<h1>It's great having you contribute to this project</h1> Welcome to the community :nerd_face:"
pr-message: "<h1>It's great having you contribute to this project</h1> Welcome to the community :nerd_face:"
footer: 'If you would like to continue contributing to open source and would like to do it with an awesome inclusive community, you should join our <a href="http://discord.eddiehub.org">Discord Server</a> and our <a href="http://github.eddiehub.org">GitHub Organisation</a> - we help and encourage each other to contribute to open source little and often 🤓 . Any questions let us know.'

2 changes: 1 addition & 1 deletion .github/workflows/invitation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ jobs:
organization: EddieHubCommunity
label: invite me to the organisation
repo-token: ${{ secrets.GITHUB_TOKEN }}
comment: '<b>Invitation sent to join the GitHub Organisation. Welcome to the community 🎉</b><br><br>Don''t forget after accepting to make it public so it appears on your GitHub profile for everyone else to see. You can do this by finding your name in the GitHub organisation list and change the dropdown to public https://github.com/orgs/EddieHubCommunity/people<br><br>Tips for practising:<br><br>Customise your GitHub profile, here is a course on that: https://www.eddiejaoude.io/course-github-profile-landing<br>Practice repo, instructions on how to add your name to the README https://github.com/EddieHubCommunity/hacktoberfest-practice<br>Remember contributing to open source is not just about code, it''s about collaboration, communication and adding value<br>I hope that helps'
comment: "<b>Invitation sent to join the GitHub Organisation. Welcome to the community 🎉</b><br><br>Don't forget after accepting to make it public so it appears on your GitHub profile for everyone else to see. You can do this by finding your name in the GitHub organisation list and change the dropdown to public https://github.com/orgs/EddieHubCommunity/people<br><br>Tips for practising:<br><br>Customise your GitHub profile, here is a course on that: https://www.eddiejaoude.io/course-github-profile-landing<br>Practice repo, instructions on how to add your name to the README https://github.com/EddieHubCommunity/hacktoberfest-practice<br>Remember contributing to open source is not just about code, it's about collaboration, communication and adding value<br>I hope that helps"
env:
INVITE_TOKEN: ${{ secrets.INVITE_TOKEN }}
22 changes: 10 additions & 12 deletions .github/workflows/labels.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,20 @@

name: Import open source standard labels

on:
push:
branches: [ main ]
branches: [main]

jobs:
labels:

runs-on: ubuntu-latest

steps:
- uses: actions/setup-node@v2
with:
node-version: '14'
- uses: EddieHubCommunity/gh-action-open-source-labels@main
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
owner-name: ${{ github.repository_owner }}
repository-name: ${{ github.event.repository.name }}
force: false
- uses: actions/setup-node@v2
with:
node-version: "14"
- uses: EddieHubCommunity/gh-action-open-source-labels@main
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
owner-name: ${{ github.repository_owner }}
repository-name: ${{ github.event.repository.name }}
force: false
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ Must be one of the following:

EddieHub is all about open source collaboration. We want it to be a place which is inclusive and welcoming for all and therefore, our maintainers are carefully chosen from those we see upholding the EddieHub guiding principles of collaboration first, code second, making quality contributions to EddieHub over a longer period of time and those that follow the [CODE of CONDUCT](CODE_OF_CONDUCT.md).

Please don’t ask to become a maintainer; instead, show your interest and potential through quality contributions. Our moderation team regularly discusses which contributors make a positive impact on the community. Those seen regularly making a positive impact in line with our code of conduct will be extended an invite to join the maintainer team.
Please don’t ask to become a maintainer; instead, show your interest and potential through quality contributions. Our moderation team regularly discusses which contributors make a positive impact on the community. Those seen regularly making a positive impact in line with our code of conduct will be extended an invite to join the maintainer team.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,6 @@

## Our Pledge

We take participation in our community as a harassment-free experience for everyone and we pledge to act in ways to contribute to an open, welcoming, diverse and inclusive community.
We take participation in our community as a harassment-free experience for everyone and we pledge to act in ways to contribute to an open, welcoming, diverse and inclusive community.

If you have experienced or been made aware of unacceptable behaviour, please remember that you can report this. Read our [Code of Conduct](https://github.com/EddieHubCommunity/support/blob/main/CODE_OF_CONDUCT.md).
If you have experienced or been made aware of unacceptable behaviour, please remember that you can report this. Read our [Code of Conduct](https://github.com/EddieHubCommunity/support/blob/main/CODE_OF_CONDUCT.md).
2 changes: 1 addition & 1 deletion docs/moderators/github.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ If a contributor has not responded to reviews or comments on a PR, follow this g
- After 14 days (two weeks) of inactivity **since the contributor's last comment**, a maintainer should close the pull request.
- Be sure to leave a friendly message thanking them for their efforts and inviting them to request that we re-open the PR when they are available to complete the changes.

In general, only *one* maintainer should be reaching out to the contributor. If multiple maintainers reach out, we could inadvertently make our contributors feel pressured/rushed. We are all busy and want to respect each others' time.
In general, only _one_ maintainer should be reaching out to the contributor. If multiple maintainers reach out, we could inadvertently make our contributors feel pressured/rushed. We are all busy and want to respect each others' time.

## Handling Inactive Issues

Expand Down
3 changes: 2 additions & 1 deletion docs/snippets/en/github-action-failing.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,12 @@ Any questions feel free to ask in the EddieHub Discord http://discord.eddiehub.o

---

###
###

GitHub Actions perform automated tests. They do not replace manual review but help us focus on the more valuable collaboration.

GitHub Actions usually include...

- Building the project
- Automated testing
- Linting to check consistent in code formatting
Expand Down
2 changes: 1 addition & 1 deletion docs/snippets/en/issue-before-pr.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Thank you for the PR. It is better to make an issue first.

---

###
###

Benefits of creating an Issue first

Expand Down
2 changes: 1 addition & 1 deletion docs/snippets/en/join-discord.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Come and join the realtime discussion and collaboration http://discord.eddiehub.

---

###
###

GitHub is great for async conversations and persisting the collaboration. But sometimes we need that realtime conversation too

Expand Down
2 changes: 1 addition & 1 deletion docs/snippets/en/screenshots.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Explaining your PR changes is great. Please also consider adding a before/after

---

###
###

A picture speaks a 1000s words, well in our case a screenshot.

Expand Down
2 changes: 1 addition & 1 deletion docs/snippets/id/issue-before-pr.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Terima kasih atas PR Anda. Lebih baik Anda membuat isu terlebih dahulu.

---

###
###

Manfaat membuat isu terlebih dahulu

Expand Down
2 changes: 1 addition & 1 deletion docs/snippets/id/join-discord.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Mari bergabung dalam diskusi dan kolaborasi secara langsung di [Discord EddieHub

---

###
###

GitHub sangat baik untuk percakapan asinkron dan mempertahankan kolaborasi.
Tapi terkadang kita juga membutuhkan percakapan secara langsung.
Expand Down
2 changes: 1 addition & 1 deletion docs/snippets/id/screenshots.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Menjelaskan perubahan PR Anda sangat baik. Harap pertimbangkan juga untuk menamb

---

###
###

Sebuah gambar berbicara 1000 kata. Dalam hal ini, sebuah tangkapan layar.

Expand Down
4 changes: 2 additions & 2 deletions docs/snippets/pt/github-action-failing.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ As GitHub Actions executam certos testes automatizados. Elas não substituem rev

GitHub Actions normalmente incluem:

- Construção de um projeto
- Construção de um projeto
- Testes automatizados
- Linting para verificar a consistência na formatação do código

---

Línguas: todas
Línguas: todas
Rótulo: Guia de estilo
2 changes: 1 addition & 1 deletion docs/snippets/pt/issue-before-pr.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ Benefícios em criar uma Assunto primeiro:

---

- Languages: all Línguas: todas
- Languages: all Línguas: todas
- Labels: Style guide Rótulo: Guia de estilo
8 changes: 4 additions & 4 deletions docs/snippets/pt/join-discord.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

### TLDR;

Venha participar na discussão e colaboração em tempo real http://discord.eddiehub.org
Venha participar na discussão e colaboração em tempo real http://discord.eddiehub.org

---

Expand All @@ -12,9 +12,9 @@ GitHub é óptimo para conversas assíncronas e manter a colaboração. No entan

- Respostas mais rápidas
- Vários participantes podem juntar-se à conversa
- Chamadas e partilha de ecrã
- Chamadas e partilha de ecrã

----
---

- Línguas: todas
- Línguas: todas
- Rótulo: Guia de estilo
2 changes: 1 addition & 1 deletion docs/snippets/pt/screenshots.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ Uma imagem vale por mil palavras ou, neste caso, a captura de ecrã (screenshot)

---

- Línguas: todas
- Línguas: todas
- Rótulo: Guia de estilo
2 changes: 1 addition & 1 deletion docs/snippets/pt/smaller-pull-requests.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ Porque é que os PR pequenos são melhores

---

- Línguas: todas
- Línguas: todas
- Rótulo: Guia de estilo
4 changes: 2 additions & 2 deletions docs/snippets/pt/update-branch.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

### TLDR;

Obrigado pelo seu PR. O seu ramo parece estar atrás da predefinição do ramo main. Por favor atualize com as ultimas mudanças.
Obrigado pelo seu PR. O seu ramo parece estar atrás da predefinição do ramo main. Por favor atualize com as ultimas mudanças.

---

### Detalhes completos

À medida que as mudanças são fundidas, outros PRs ficarão desatualizados e precisarão ser atualizados.

- Atualize o ramo main para uma bifurcação prédefinida
- Atualize o ramo main para uma bifurcação prédefinida
- Merge main into your branch
- Funda o main no seu ramo

Expand Down
3 changes: 2 additions & 1 deletion docs/snippets/ru/github-action-failing.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,12 @@

---

###
###

GitHub Actions выполняют автоматизированные тесты. Они не заменяют ручную проверку, но помогают нам сосредоточиться на более ценном сотрудничестве.

GitHub Actions обычно включают...

- Создание проекта
- Автоматическое тестирование
- Linting для проверки согласованности форматирования кода
Expand Down
2 changes: 1 addition & 1 deletion docs/snippets/ru/issue-before-pr.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

---

###
###

Преимущества создания Issue в первую очередь

Expand Down
2 changes: 1 addition & 1 deletion docs/snippets/ru/join-discord.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

---

###
###

GitHub отлично подходит для асинхронных разговоров и стойкого сотрудничества. Но иногда нам также необходимо обсуждение в реальном времени

Expand Down
2 changes: 1 addition & 1 deletion docs/snippets/ru/screenshots.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

---

###
###

Изображение может заменить 1000 слов, в нашем случае это скриншот.

Expand Down
1 change: 1 addition & 0 deletions docs/tips/git.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ If you want to squash the latest commit _only_, you can run one single command w
git commit --amend -m "commit message" -m "commit description (optional)"
```

<!-- markdownlint-disable MD029 -->
4. Force-push your changes to the desired branch.

```bash
Expand Down
20 changes: 10 additions & 10 deletions docs/tips/githubtips.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@

- Fork the project (done via website)
- Clone your fork (to your system)
- Run ``` git status ```
- Create a branch to work from ``` git checkout -b <branch-name> ```
- Check status ``` git status ```
- Run `git status`
- Create a branch to work from `git checkout -b <branch-name>`
- Check status `git status`
- Make your code/changes/etc.
- Run ``` git add <file-name> <file-name> ```
- Commit your changes ``` git commit -m "appropriate note" ```
- Push your changes ``` git push ```
- Configure a remote for the fork ``` git remote add upstream https://github.com/original-owner-username/original-repository.git ```
- Update the latest version of the upstream to avoid conflicts ``` git fetch upstream ```
- Switch to main branch in your local fork ``` git checkout main ```
- Merge the upstream changes to your local main branch thus avoiding PR conflicts ``` git merge upstream/main ```
- Run `git add <file-name> <file-name>`
- Commit your changes `git commit -m "appropriate note"`
- Push your changes `git push`
- Configure a remote for the fork `git remote add upstream https://github.com/original-owner-username/original-repository.git`
- Update the latest version of the upstream to avoid conflicts `git fetch upstream`
- Switch to main branch in your local fork `git checkout main`
- Merge the upstream changes to your local main branch thus avoiding PR conflicts `git merge upstream/main`
- Request a PR on GitHub (website) after you have done your changes.

## Learning more
Expand Down
2 changes: 1 addition & 1 deletion docs/tips/glossary.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ It's a function declared without any named identifier to refer to it.

```javascript
window.addEventListener("click", function () {
// This is An Anonymous Function
// This is An Anonymous Function
});
```

Expand Down

0 comments on commit eea616a

Please sign in to comment.