π¬ A browser extension and desktop app that turns your clicks into step-by-step guides with annotated screenshots π
TypeScript browser-extensionchrome-extensiondocumentationfirefox-extensionguide-generatorlocal-firstmanifest-v3privacy-firstproductivityreactscreenshotstep-by-step-guidetutorialtypescriptworkflowwxt
chore: add Husky pre-commit hook for Biome linting
Luis Ortiz96d5fcbdd546
diff --git a/.claude/settings.json b/.claude/settings.jsonnew file mode 100644index 0000000..0967ef4--- /dev/null+++ b/.claude/settings.json@@ -0,0 +1 @@+{}diff --git a/.husky/pre-commit b/.husky/pre-commitnew file mode 100644index 0000000..39d4721--- /dev/null+++ b/.husky/pre-commit@@ -0,0 +1,2 @@+npx @biomejs/biome check --write --staged --files-ignore-unknown=true --no-errors-on-unmatched+git update-index --againdiff --git a/package-lock.json b/package-lock.jsonindex 77df5ff..7b11fe8 100644--- a/package-lock.json+++ b/package-lock.json@@ -43,6 +43,7 @@"@types/react-dom": "^19.2.3","fake-indexeddb": "^6.2.5","happy-dom": "^20.8.4",+ "husky": "^9.1.7","jsdom": "^29.0.1","typescript": "^5.9.3","vitest": "^4.1.0"@@ -5558,6 +5559,22 @@"entities": "^7.0.1"}},+ "node_modules/husky": {+ "version": "9.1.7",+ "resolved": "https://registry.npmjs.org/husky/-/husky-9.1.7.tgz",+ "integrity": "sha512-5gs5ytaNjBrh5Ow3zrvdUUY+0VxIuWVL4i9irt6friV+BqdCfmV11CQTWMiBYWHbXhco+J1kHfTOUkePhCDvMA==",+ "dev": true,+ "license": "MIT",+ "bin": {+ "husky": "bin.js"+ },+ "engines": {+ "node": ">=18"+ },+ "funding": {+ "url": "https://github.com/sponsors/typicode"+ }+ },"node_modules/immediate": {"version": "3.0.6","resolved": "https://registry.npmjs.org/immediate/-/immediate-3.0.6.tgz",diff --git a/package.json b/package.jsonindex e43d0f3..6594b41 100644--- a/package.json+++ b/package.json@@ -10,7 +10,8 @@"test": "echo \"Error: no test specified\" && exit 1","lint": "biome check .","lint:fix": "biome check --write .",- "format": "biome format --write ."+ "format": "biome format --write .",+ "prepare": "husky"},"keywords": [],"author": "",@@ -50,6 +51,7 @@"@types/react-dom": "^19.2.3","fake-indexeddb": "^6.2.5","happy-dom": "^20.8.4",+ "husky": "^9.1.7","jsdom": "^29.0.1","typescript": "^5.9.3","vitest": "^4.1.0"