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

Automatically check new commits with Prettier #23

Merged
merged 7 commits into from
Jul 5, 2024
Merged
Show file tree
Hide file tree
Changes from all 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
7 changes: 3 additions & 4 deletions .github/ISSUE_TEMPLATE/01-add-an-alternative.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@ name: Add an alternative to the list
about: Suggest the inclusion of a new mod that can replace an Essential function.
title: "Add [mod] to the alternatives page."
labels: enhancement
assignees:
- KTrain5169
- blryface

assignees:
- KTrain5169
- blryface
---

## What part(s) of Essential does this mod replace?
Expand Down
7 changes: 3 additions & 4 deletions .github/PULL_REQUEST_TEMPLATE/01-add-an-alternative.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@ name: Adding new alternative
about: Select this if you are adding a new mod to the alternatives page.
title: "add: [mod name] to alternatives page"
labels: enhancement
assignees:
- KTrain5169
- blryface

assignees:
- KTrain5169
- blryface
---

## What part(s) of Essential does this mod replace?
Expand Down
5 changes: 2 additions & 3 deletions .github/PULL_REQUEST_TEMPLATE/02-site-changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@ about: Select this if you changed the website in a different way.
title: "change/fix (choose one): [short description of the change]"
labels: enhancement
assignees:
- blryface
- WorldWidePixel

- blryface
- WorldWidePixel
---

## Are there major changes (ex: signficantly revamping the website visuals) that we NEED to know about?
Expand Down
1 change: 0 additions & 1 deletion .github/PULL_REQUEST_TEMPLATE/03-chore-stuff.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ about: Select this if you are modifying something that won't affect what other p
title: "chore: [short description of changes go here]"
labels: documentation
assignees: KTrain5169

---

## What have you changed?
Expand Down
30 changes: 30 additions & 0 deletions .github/workflows/prettier-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: "Prettier Check"

on:
push:
pull_request:

jobs:
check-prettier:
name: Prettier Check
runs-on: ubuntu-latest
steps:
- name: Download repo
uses: actions/checkout@v4

- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9

- name: Use Node.js v20.15.0
uses: actions/setup-node@v4
with:
node-version: "20.15.0"
cache: "pnpm"

- name: Install dependencies
run: pnpm install

- name: Check code with Prettier
run: pnpm exec prettier --check .
Nitrrine marked this conversation as resolved.
Show resolved Hide resolved
4 changes: 2 additions & 2 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"recommendations": ["esbenp.prettier-vscode"]
}
"recommendations": ["esbenp.prettier-vscode"]
}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# NotEssential website

A website linking to mods that can substitute Essential's features.
A website linking to mods that can substitute Essential's features.
2 changes: 1 addition & 1 deletion pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ useSeoMeta({
"Essential has many issues. This website tells why, and provides alternatives.",
ogImage: "/img/icon512.png",
})
</script>
</script>