Skip to content

Commit

Permalink
chore: add lint hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
eye-wave committed Oct 24, 2024
1 parent 100a569 commit 4f0cfbe
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ jobs:

- name: Install Bun
uses: oven-sh/setup-bun@v2
with:
cache: bun

- name: Install dependencies
run: bun install --frozen-lockfile
Expand Down
Binary file modified bun.lockb
Binary file not shown.
10 changes: 9 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,12 @@
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-svelte": "^2.46.0",
"globals": "^15.11.0",
"lint-staged": "^15.2.10",
"prettier": "^3.3.3",
"prettier-plugin-svelte": "^3.2.7",
"publint": "^0.2.11",
"shiki": "^1.22.0",
"simple-git-hooks": "^2.11.1",
"svelte": "^5.1.0",
"svelte-check": "^4.0.5",
"typescript": "^5.6.3",
Expand All @@ -60,5 +62,11 @@
},
"svelte": "./dist/index.js",
"types": "./dist/index.d.ts",
"type": "module"
"type": "module",
"simple-git-hooks": {
"pre-commit": "bun lint-staged"
},
"lint-staged": {
"*": "eslint --fix"
}
}

0 comments on commit 4f0cfbe

Please sign in to comment.