diff --git a/.oxlintrc.json b/.oxlintrc.json index 99d4023955..7cedc565fa 100644 --- a/.oxlintrc.json +++ b/.oxlintrc.json @@ -120,5 +120,16 @@ "node": true, "es2023": true }, - "ignorePatterns": ["dist", "node_modules", "docs/api", ".codex", ".devin"] + "ignorePatterns": [ + "dist", + "build", + "node_modules", + "docs/api", + "coverage", + ".turbo", + ".cache", + ".codex", + ".devin", + ".factory" + ] } diff --git a/eslint.config.js b/eslint.config.js deleted file mode 100644 index e837f85d10..0000000000 --- a/eslint.config.js +++ /dev/null @@ -1,28 +0,0 @@ -import eslint from "@eslint/js"; -import tseslint from "typescript-eslint"; - -export default tseslint.config( - { ignores: ["dist/**", "node_modules/**"] }, - eslint.configs.recommended, - ...tseslint.configs.strictTypeChecked, - { - files: ["**/*.ts"], - languageOptions: { - parserOptions: { - projectService: true, - tsconfigRootDir: import.meta.dirname, - }, - }, - rules: { - "@typescript-eslint/consistent-type-imports": "error", - "@typescript-eslint/no-confusing-void-expression": "error", - "@typescript-eslint/no-floating-promises": "error", - "@typescript-eslint/no-non-null-assertion": "error", - "@typescript-eslint/no-unnecessary-condition": "error", - "@typescript-eslint/no-unsafe-type-assertion": "error", - "@typescript-eslint/only-throw-error": "error", - "@typescript-eslint/require-await": "error", - "@typescript-eslint/switch-exhaustiveness-check": "error", - }, - }, -); diff --git a/package.json b/package.json index ea04db7415..83c5819c6b 100644 --- a/package.json +++ b/package.json @@ -73,7 +73,7 @@ "precheck:test": "npm run deps:check", "check:test": "turbo run typecheck lint format:check knip metadata:check test:run", "precheck:pr": "npm run deps:check", - "check:pr": "turbo run typecheck lint format:check knip metadata:check test:run && npm run docs:check", + "check:pr": "turbo run typecheck lint format:check knip metadata:check test:run && npm run docs:check && npm run jscpd && npm run scan:todos", "precheck:ci": "npm run deps:check", "check:ci": "turbo run typecheck lint format:check knip metadata:check jscpd scan:todos", "build:cached": "turbo run build", @@ -82,7 +82,6 @@ "lint": "oxlint", "lint:fix": "oxlint --fix", "knip": "knip", - "lint:dead": "knip", "jscpd": "jscpd src/ tests/", "scan:todos": "node scripts/scan-todos.mjs", "start": "node scripts/rea.mjs mcp", @@ -190,7 +189,7 @@ "playwright-core": "1.58.2", "plist": "5.0.0", "semver": "7.8.5", - "smol-toml": "^1.7.0", + "smol-toml": "1.7.0", "write-file-atomic": "7.0.0", "ws": "8.21.0", "zod": "4.4.3" diff --git a/turbo.json b/turbo.json index a7ff64f44d..51d036d8eb 100644 --- a/turbo.json +++ b/turbo.json @@ -46,7 +46,6 @@ "inputs": [ ".nvmrc", ".oxlintrc.json", - "eslint.config.js", "package.json", "package-lock.json", "scripts/**/*.{cjs,cts,js,jsx,mjs,mts,ts,tsx}", @@ -104,11 +103,32 @@ }, "test:run": { "dependsOn": ["build"], - "cache": false + "inputs": [ + ".nvmrc", + "package.json", + "package-lock.json", + "src/**", + "tests/**", + "scripts/**", + "bridge/**", + "vitest.config.ts" + ] }, "docs:check:built": { "dependsOn": ["build"], - "cache": false + "inputs": [ + ".nvmrc", + "package.json", + "package-lock.json", + "scripts/generate-*.mjs", + "scripts/check-doc-facts.mjs", + "scripts/lib/*.mjs", + "src/generated*.ts", + "src/contracts/**/*.ts", + "docs/**", + "skills/**/SKILL.md", + "README.md" + ] } } }