Skip to content

Commit 5d58378

Browse files
authored
chore: enforce prettier (#29)
1 parent c12912f commit 5d58378

10 files changed

Lines changed: 194 additions & 180 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919
node-version: 22
2020
cache: "pnpm"
2121
- run: pnpm install
22+
- run: pnpm format:check
2223
- run: pnpm lint
2324
- run: pnpm test:types
2425
- run: pnpm build

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
src/providers/piefed/schema.ts
2+
pnpm-lock.yaml

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
],
3535
"scripts": {
3636
"dev": "vitest dev",
37+
"format:check": "prettier --check .",
3738
"lint": "eslint .",
3839
"lint:fix": "eslint . --fix",
3940
"test": "pnpm lint && pnpm test:types && vitest run --coverage",
@@ -51,6 +52,7 @@
5152
},
5253
"devDependencies": {
5354
"@eslint/js": "^9.29.0",
55+
"prettier": "^3.7.4",
5456
"@types/node": "22.14.1",
5557
"@vitest/coverage-v8": "3.1.1",
5658
"eslint": "9.25.0",

pnpm-lock.yaml

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)