mirror of
https://github.com/morluto/rea.git
synced 2026-10-26 17:35:11 +00:00
- Replace ESLint/typescript-eslint with oxlint (faster, zero-config TypeScript linting) - Add oxlint config with complexity thresholds, max-lines, and TypeScript rules - Add jscpd for duplicate code detection - Add knip for dead code and unused dependency detection - Add scripts/scan-todos.mjs for tech debt marker scanning - Add Husky pre-commit hook running oxlint on staged files - Fix unnecessary array spreads flagged by oxlint
20 lines
583 B
JSON
20 lines
583 B
JSON
{
|
|
"$schema": "./node_modules/knip/schema.json",
|
|
"entry": ["src/main.ts", "src/cli.ts", "scripts/rea.mjs", "scripts/scan-todos.mjs"],
|
|
"project": ["src/**/*.ts", "tests/**/*.ts", "scripts/**/*.mjs", "vitest.config.ts"],
|
|
"ignore": ["dist/**", "docs/**", ".codex/**", ".devin/**"],
|
|
"ignoreDependencies": [],
|
|
"rules": {
|
|
"files": "warn",
|
|
"dependencies": "warn",
|
|
"devDependencies": "warn",
|
|
"unlisted": "error",
|
|
"exports": "warn",
|
|
"nsExports": "warn",
|
|
"types": "warn",
|
|
"nsTypes": "warn",
|
|
"enumMembers": "warn",
|
|
"duplicates": "error"
|
|
}
|
|
}
|