Skip to content
Open
Show file tree
Hide file tree
Changes from 12 commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
a410134
chore: Husky for auto lint fix and formatting
lanesawyer Oct 2, 2025
3ab630c
Run install since I coded it on the plane
lanesawyer Oct 2, 2025
c3e8281
lint-staged install
lanesawyer Oct 2, 2025
ee3b10d
try to get the lint staged and husky trigger
lanesawyer Oct 2, 2025
f688465
ugh tyr again
lanesawyer Oct 2, 2025
9c73202
try again
lanesawyer Oct 2, 2025
7582f91
try again'
lanesawyer Oct 2, 2025
657b93d
try again!
lanesawyer Oct 2, 2025
99d228f
ahhh will this do it
lanesawyer Oct 2, 2025
9078273
maybe now
lanesawyer Oct 2, 2025
f4b3b1a
whyyyyy
lanesawyer Oct 2, 2025
2dd0568
oops remove something I didn't mean to leave in
lanesawyer Oct 2, 2025
28dee5d
Merge branch 'main' into lane/lint-fix-and-pre-commit-hooks
lanesawyer Oct 2, 2025
26434cd
Merge branch 'main' into lane/lint-fix-and-pre-commit-hooks
lanesawyer Feb 19, 2026
4040d45
try again with the fmt and auto lint fixes but not blocking on failed…
lanesawyer Feb 19, 2026
4b63d63
fix issue from merge
lanesawyer Feb 19, 2026
9923913
Merge branch 'main' into lane/lint-fix-and-pre-commit-hooks
lanesawyer Feb 20, 2026
e9173b1
Merge branch 'main' into lane/lint-fix-and-pre-commit-hooks
lanesawyer Aug 14, 2026
5993261
merge
lanesawyer Aug 14, 2026
1315818
chore: replace husky and lint-staged with lefthook
lanesawyer Aug 14, 2026
cc6931a
chore: revert biome-era import reordering
lanesawyer Aug 14, 2026
7b0a809
chore: cover md, mdx, html, and astro in lefthook globs
lanesawyer Aug 14, 2026
6c278cd
remove the test console thing to trigger a lint error
lanesawyer Aug 14, 2026
9a16103
Merge remote-tracking branch 'origin/lane/upgrade-pnpm-11' into lane/…
lanesawyer Aug 14, 2026
9858801
chore: install lefthook hooks via pnpm allowBuilds
lanesawyer Aug 14, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .husky/install.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
// Skip Husky install in production and CI
if (process.env.NODE_ENV === 'production' || process.env.CI === 'true') {
process.exit(0);
}
const husky = (await import('husky')).default;
console.log(husky());
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pnpm exec lint-staged
2 changes: 1 addition & 1 deletion biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
},
"files": {
"ignoreUnknown": false,
"includes": ["**", "!**/dist/**/*", "!**/coverage/**/*", "!**/.astro/**/*"]
"includes": ["**", "!**/dist/**/*", "!**/coverage/**/*", "!**/.astro/**/*", "!**/.husky/**/*"]
},
"formatter": {
"enabled": true,
Expand Down
12 changes: 10 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"fmt:check": "biome format .",
"lint": "biome lint . --write",
"lint:check": "biome lint .",
"changelog": "pnpm -r run changelog"
"changelog": "pnpm -r run changelog",
"prepare": "node .husky/install.mjs"
},
"devDependencies": {
"@biomejs/biome": "2.2.2",
Expand All @@ -22,6 +23,8 @@
"@vitest/coverage-istanbul": "3.2.4",
"buffer": "6.0.0",
"git-cliff": "2.10.0",
"husky": "9.1.7",
"lint-staged": "16.2.3",
"parcel": "2.15.4",
"process": "0.11.10",
"typescript": "5.9.2",
Expand All @@ -31,5 +34,10 @@
"node": "22.11.0",
"pnpm": "9.14.2"
},
"packageManager": "pnpm@9.14.2"
"packageManager": "pnpm@9.14.2",
"lint-staged": {
"*": [
"biome check --write --no-errors-on-unmatched --files-ignore-unknown=true"
]
}
}
Loading