File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -28,10 +28,9 @@ repos:
2828 hooks :
2929 - id : local-biome-check
3030 name : biome check
31- entry : npx biome check --write --files-ignore-unknown=true --no-errors-on-unmatched
31+ entry : bash -c "cd frontend; npm run lint"
3232 language : system
3333 types : [text]
34- files : " \\ .(jsx?|tsx?|c(js|ts)|m(js|ts)|d\\ .(ts|cts|mts)|jsonc?|css|svelte|vue|astro|graphql|gql)$"
3534
3635ci :
3736 autofix_commit_msg : 🎨 [pre-commit.ci] Auto format from pre-commit.com hooks
Original file line number Diff line number Diff line change 55 },
66 "files" : {
77 "ignore" : [
8+ " dist" ,
89 " node_modules" ,
10+ " src/client" ,
911 " src/routeTree.gen.ts" ,
1012 " playwright.config.ts" ,
1113 " playwright-report"
Original file line number Diff line number Diff line change 66 "scripts" : {
77 "dev" : " vite" ,
88 "build" : " tsc -p tsconfig.build.json && vite build" ,
9- "lint" : " biome check --apply-unsafe --no-errors-on-unmatched --files-ignore-unknown=true ./" ,
9+ "lint" : " biome check --write --no-errors-on-unmatched --files-ignore-unknown=true ./" ,
1010 "preview" : " vite preview" ,
1111 "generate-client" : " openapi-ts"
1212 },
Original file line number Diff line number Diff line change 99mv openapi.json frontend/
1010cd frontend
1111npm run generate-client
12- npx biome format --write ./src/client
You can’t perform that action at this time.
0 commit comments