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:
28
28
hooks :
29
29
- id : local-biome-check
30
30
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"
32
32
language : system
33
33
types : [text]
34
- files : " \\ .(jsx?|tsx?|c(js|ts)|m(js|ts)|d\\ .(ts|cts|mts)|jsonc?|css|svelte|vue|astro|graphql|gql)$"
35
34
36
35
ci :
37
36
autofix_commit_msg : 🎨 [pre-commit.ci] Auto format from pre-commit.com hooks
Original file line number Diff line number Diff line change 5
5
},
6
6
"files" : {
7
7
"ignore" : [
8
+ " dist" ,
8
9
" node_modules" ,
10
+ " src/client" ,
9
11
" src/routeTree.gen.ts" ,
10
12
" playwright.config.ts" ,
11
13
" playwright-report"
Original file line number Diff line number Diff line change 6
6
"scripts" : {
7
7
"dev" : " vite" ,
8
8
"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 ./" ,
10
10
"preview" : " vite preview" ,
11
11
"generate-client" : " openapi-ts"
12
12
},
Original file line number Diff line number Diff line change 9
9
mv openapi.json frontend/
10
10
cd frontend
11
11
npm run generate-client
12
- npx biome format --write ./src/client
You can’t perform that action at this time.
0 commit comments