File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 2323
2424 - name : Install Bun
2525 uses : oven-sh/setup-bun@v2
26- with :
27- cache : bun
2826
2927 - name : Install dependencies
3028 run : bun install --frozen-lockfile
Original file line number Diff line number Diff line change 4848 "eslint-config-prettier" : " ^9.1.0" ,
4949 "eslint-plugin-svelte" : " ^2.46.0" ,
5050 "globals" : " ^15.11.0" ,
51+ "lint-staged" : " ^15.2.10" ,
5152 "prettier" : " ^3.3.3" ,
5253 "prettier-plugin-svelte" : " ^3.2.7" ,
5354 "publint" : " ^0.2.11" ,
5455 "shiki" : " ^1.22.0" ,
56+ "simple-git-hooks" : " ^2.11.1" ,
5557 "svelte" : " ^5.1.0" ,
5658 "svelte-check" : " ^4.0.5" ,
5759 "typescript" : " ^5.6.3" ,
6062 },
6163 "svelte" : " ./dist/index.js" ,
6264 "types" : " ./dist/index.d.ts" ,
63- "type" : " module"
65+ "type" : " module" ,
66+ "simple-git-hooks" : {
67+ "pre-commit" : " bun lint-staged"
68+ },
69+ "lint-staged" : {
70+ "*" : " eslint --fix"
71+ }
6472}
You can’t perform that action at this time.
0 commit comments