forked from akai/readest
956c71cd7b
Replace ESLint with Biome for ~14x faster linting (~360ms vs ~5s). - Add biome.json with rules matching ESLint parity (Next.js, a11y, TypeScript, unused vars/imports) - Remove eslint, @typescript-eslint/*, eslint-config-next, eslint-plugin-jsx-a11y, @eslint/* from deps - Remove eslint.config.mjs - Update lint script to: tsgo --noEmit && biome check . - Fix 11 real code issues caught by Biome (banned types, explicit any, unsafe finally, unreachable code, shadowed names) - Disable Biome formatter (Prettier stays for Tailwind class sorting) Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
57 lines
1.8 KiB
JSON
57 lines
1.8 KiB
JSON
{
|
|
"name": "@readest/monorepo",
|
|
"private": true,
|
|
"repository": "readest/readest",
|
|
"scripts": {
|
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
"tauri": "pnpm --filter @readest/readest-app tauri",
|
|
"dev-web": "pnpm --filter @readest/readest-app dev-web",
|
|
"prepare": "husky",
|
|
"fmt:check": "pnpm --filter @readest/readest-app fmt:check",
|
|
"clippy:check": "pnpm --filter @readest/readest-app clippy:check",
|
|
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,css,json,md,html,yml}\"",
|
|
"format:check": "prettier --check \"**/*.{js,jsx,ts,tsx,css,json,md,html,yml}\""
|
|
},
|
|
"packageManager": "pnpm@10.30.3",
|
|
"devDependencies": {
|
|
"@biomejs/biome": "^2.4.9",
|
|
"@sindresorhus/tsconfig": "^6.0.0",
|
|
"husky": "^9.1.6",
|
|
"lint-staged": "^16.2.7",
|
|
"prettier": "^3.3.3",
|
|
"prettier-plugin-tailwindcss": "^0.6.8",
|
|
"typescript": "^5"
|
|
},
|
|
"lint-staged": {
|
|
"**/*.{js,jsx,ts,tsx,css,json,md,html,yml}": [
|
|
"prettier --write"
|
|
]
|
|
},
|
|
"pnpm": {
|
|
"overrides": {
|
|
"glob": ">=11.1.0",
|
|
"jws": ">=4.0.1",
|
|
"vite": ">=7.3.1",
|
|
"srvx": ">=0.11.13",
|
|
"rollup": ">=4.59.0",
|
|
"undici": ">=7.24.0",
|
|
"flatted": ">=3.4.2",
|
|
"body-parser": ">=2.2.1",
|
|
"dompurify": ">=3.3.2",
|
|
"picomatch": ">=4.0.4",
|
|
"path-to-regexp": ">=8.4.0",
|
|
"serialize-javascript": ">=7.0.5",
|
|
"fast-xml-parser": ">=5.5.7",
|
|
"lodash-es": ">=4.17.23",
|
|
"@babel/runtime": ">=7.26.10",
|
|
"@babel/helpers": ">=7.26.10",
|
|
"mdast-util-gfm-autolink-literal": "2.0.1",
|
|
"@ai-sdk/provider-utils": "4.0.8"
|
|
},
|
|
"patchedDependencies": {
|
|
"mdast-util-gfm-autolink-literal@2.0.1": "patches/mdast-util-gfm-autolink-literal@2.0.1.patch",
|
|
"@ai-sdk/provider-utils@4.0.8": "patches/@ai-sdk__provider-utils@4.0.8.patch"
|
|
}
|
|
}
|
|
}
|