A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search
lint: Add husky
MohamedBassem97ef06b80616
diff --git a/.husky/pre-commit b/.husky/pre-commitnew file mode 100644index 00000000..208f9a12--- /dev/null+++ b/.husky/pre-commit@@ -0,0 +1,2 @@+pnpm format:check+pnpm lintdiff --git a/package.json b/package.jsonindex 4c38dd20..dd94e3f2 100644--- a/package.json+++ b/package.json@@ -6,11 +6,12 @@"scripts": {"format": "prettier . --write","format:check": "prettier . --check",- "lint": "eslint .",+ "lint": "eslint . --ignore-path .gitignore","db:migrate": "pnpm --filter @hoarder/db run migrate","db:studio": "pnpm --filter @hoarder/db studio","workers": "pnpm --filter @hoarder/workers run start",- "web": "pnpm --filter @hoarder/web run dev"+ "web": "pnpm --filter @hoarder/web run dev",+ "prepare": "husky"},"dependencies": {"@next/eslint-plugin-next": "^14.1.0",@@ -30,6 +31,7 @@"eslint": "^8.56.0","eslint-config-next": "14.1.0","eslint-plugin-tailwindcss": "^3.14.2",+ "husky": "^9.0.11","install": "^0.13.0","prettier": "3.2.5","prettier-plugin-tailwindcss": "^0.5.11"diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 2d0e2e74..08859b82 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -54,6 +54,9 @@ importers:eslint-plugin-tailwindcss:specifier: ^3.14.2version: 3.14.3([email protected])+ husky:+ specifier: ^9.0.11+ version: 9.0.11install:specifier: ^0.13.0version: 0.13.0@@ -7230,6 +7233,12 @@ packages:ms: 2.1.3dev: false+ resolution: {integrity: sha512-AB6lFlbwwyIqMdHYhwPe+kjOC3Oc5P3nThEoW/AaO2BX3vJDjWPFxYLxokUZOo6RNX20He3AaT8sESs9NJcmEw==}+ engines: {node: '>=18'}+ hasBin: true+ dev: true+resolution: {integrity: sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==}engines: {node: '>=0.10.0'}