A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search
Add eslint and prettier
MohamedBassem2518a99d1c29
diff --git a/web/.eslintrc.json b/web/.eslintrc.jsonindex bffb357a..d971ae2a 100644--- a/web/.eslintrc.json+++ b/web/.eslintrc.json@@ -1,3 +1,22 @@{- "extends": "next/core-web-vitals"+ "parser": "@typescript-eslint/parser",+ "parserOptions": {+ "project": "./tsconfig.json",+ "ecmaFeatures": {+ "jsx": true+ },+ "ecmaVersion": 12,+ "sourceType": "module"+ },+ "extends": [+ "next/core-web-vitals",+ "eslint:recommended",+ "plugin:react/recommended",+ "plugin:react-hooks/recommended",+ "plugin:@next/next/recommended",+ "next",+ "plugin:@typescript-eslint/recommended",+ "plugin:@typescript-eslint/recommended-requiring-type-checking",+ "prettier"+ ]}diff --git a/web/.prettierignore b/web/.prettierignorenew file mode 100644index 00000000..22345d29--- /dev/null+++ b/web/.prettierignore@@ -0,0 +1,6 @@+# Ignore artifacts:+.next+build+coverage+.vscode*+node_modulesdiff --git a/web/.prettierrc b/web/.prettierrcnew file mode 100644index 00000000..0967ef42--- /dev/null+++ b/web/.prettierrc@@ -0,0 +1 @@+{}diff --git a/web/bun.lockb b/web/bun.lockbindex bfd618dc..7925e942 100755Binary files a/web/bun.lockb and b/web/bun.lockb differdiff --git a/web/package.json b/web/package.jsonindex 1323e456..2253d4e1 100644--- a/web/package.json+++ b/web/package.json@@ -15,7 +15,6 @@"lucide-react": "^0.322.0","next": "14.1.0","next-auth": "^4.24.5",- "prisma": "^5.9.1","react": "^18","react-dom": "^18","tailwind-merge": "^2.2.1",@@ -30,7 +29,16 @@"autoprefixer": "^10.0.1","postcss": "^8","tailwindcss": "^3.3.0",- "eslint": "^8",- "eslint-config-next": "14.1.0"+ "eslint": "^8.56.0",+ "eslint-config-next": "14.1.0",+ "@next/eslint-plugin-next": "^14.1.0",+ "@typescript-eslint/eslint-plugin": "^6.21.0",+ "@typescript-eslint/parser": "^6.21.0",+ "eslint-config-prettier": "^9.1.0",+ "eslint-plugin-react": "^7.33.2",+ "eslint-plugin-react-hooks": "^4.6.0",+ "install": "^0.13.0",+ "prettier": "^3.2.5",+ "prisma": "^5.9.1"}}