Skip to content

Commit

Permalink
test git hook
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugos68 committed Dec 31, 2024
1 parent 20710bc commit cb882a9
Show file tree
Hide file tree
Showing 4 changed files with 111 additions and 4 deletions.
5 changes: 5 additions & 0 deletions lefthook.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pre-commit:
commands:
format:
glob: "*.{js,ts,cjs,mjs,d.cts,d.mts,jsx,tsx,json,jsonc,svelte}"
run: pnpm format:check
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@
"name": "monorepo",
"private": true,
"scripts": {
"format": "biome format . --write",
"lint": "biome lint . --write",
"check": "biome check . --write",
"format": "biome check . --write",
"format:check": "biome check .",
"build": "pnpm -r build",
"build:watch": "pnpm -r build:watch",
"test": "pnpm -r test",
"test:watch": "pnpm -r test:watch"
},
"devDependencies": {
"@biomejs/biome": "^1.9.4",
"@changesets/cli": "^2.27.11"
"@changesets/cli": "^2.27.11",
"lefthook": "^1.10.1"
},
"packageManager": "[email protected]"
}
2 changes: 2 additions & 0 deletions packages/floating-ui-svelte/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ export * from "./hooks/use-hover.svelte.js";
export * from "./hooks/use-id.js";
export * from "./hooks/use-interactions.svelte.js";
export * from "./hooks/use-role.svelte.js";

type Test = any;
100 changes: 100 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit cb882a9

Please sign in to comment.