One Calendar is a privacy-first calendar web app built with Next.js. It has modern security features, including e2ee, password-protected sharing, and self-destructing share links ๐Ÿ“… calendar.xyehr.cn
5
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat: add eslint

authored by

Evan Huang and committed by
GitHub
a52c5dca 52418e73

+14 -2
+14 -2
package.json
··· 8 8 "build": "bun run generate:locales && next build", 9 9 "start": "next start", 10 10 "prepare": "husky", 11 + "lint": "eslint . --fix", 12 + "lint:check": "eslint . --max-warnings=0", 13 + "type-check": "tsc --noEmit" 11 14 "generate:locales": "bun lib/gen-locales.mjs", 12 15 "generate:oauth-metadata": "bun lib/gen-oauth-metadata.mjs" 13 16 }, ··· 39 42 "tailwindcss-animate": "^1.0.7", 40 43 "react-icons": "5.6.0" 41 44 }, 45 + "lint-staged": { 46 + "*.{ts,tsx,js,jsx}": [ 47 + "eslint --fix" 48 + ] 49 + }, 42 50 "devDependencies": { 43 51 "@tailwindcss/postcss": "4.2.2", 44 52 "@types/node": "25.5.2", ··· 46 54 "@types/react-dom": "^18", 47 55 "postcss": "8.5.8", 48 56 "tailwindcss": "4.2.2", 49 - "turbo": "2.9.5", 50 57 "typescript": "6.0.2", 51 58 "husky": "^9.0.0", 52 59 "@commitlint/cli": "^19.0.0", 53 60 "@commitlint/config-conventional": "^19.0.0", 54 - "@commitlint/types": "^19.0.0" 61 + "@commitlint/types": "^19.0.0", 62 + "eslint": "^9.0.0", 63 + "@eslint/js": "^9.0.0", 64 + "typescript-eslint": "^8.0.0", 65 + "eslint-config-next": "^15.0.0", 66 + "lint-staged": "^15.0.0" 55 67 } 56 68 }