diff --git a/e2e/package.json b/e2e/package.json index d6a2c7af00..aec42f93f1 100644 --- a/e2e/package.json +++ b/e2e/package.json @@ -3,7 +3,7 @@ "version": "0.1.0", "private": true, "scripts": { - "lint": "eslint src --ext ts", + "lint": "eslint src/**/*.ts", "check-types": "tsc --noEmit", "test": "npm run build && npx dotenvx run -f .env.local -- node ./out/runTest.js", "ci": "npm run vscode-test && npm run test", diff --git a/evals/apps/cli/package.json b/evals/apps/cli/package.json index 3e7da0266e..8744c1c7f1 100644 --- a/evals/apps/cli/package.json +++ b/evals/apps/cli/package.json @@ -3,7 +3,7 @@ "private": true, "type": "module", "scripts": { - "lint": "eslint src --ext ts --max-warnings=0", + "lint": "eslint src/**/*.ts --max-warnings=0", "check-types": "tsc --noEmit", "format": "prettier --write src", "dev": "dotenvx run -f ../../.env -- tsx src/index.ts" diff --git a/evals/packages/db/package.json b/evals/packages/db/package.json index 9e22267d22..9328668040 100644 --- a/evals/packages/db/package.json +++ b/evals/packages/db/package.json @@ -4,7 +4,7 @@ "type": "module", "exports": "./src/index.ts", "scripts": { - "lint": "eslint src --ext ts --max-warnings=0", + "lint": "eslint src/**/*.ts --max-warnings=0", "check-types": "tsc --noEmit", "format": "prettier --write src", "drizzle-kit": "dotenvx run -f ../../.env -- tsx node_modules/drizzle-kit/bin.cjs", diff --git a/evals/packages/ipc/package.json b/evals/packages/ipc/package.json index 902ebff26c..d833142cc8 100644 --- a/evals/packages/ipc/package.json +++ b/evals/packages/ipc/package.json @@ -4,7 +4,7 @@ "type": "module", "exports": "./src/index.ts", "scripts": { - "lint": "eslint src --ext ts --max-warnings=0", + "lint": "eslint src/**/*.ts --max-warnings=0", "check-types": "tsc --noEmit", "format": "prettier --write src" }, diff --git a/evals/packages/lib/package.json b/evals/packages/lib/package.json index 0fef85a63b..ac6ad9e51b 100644 --- a/evals/packages/lib/package.json +++ b/evals/packages/lib/package.json @@ -4,7 +4,7 @@ "type": "module", "exports": "./src/index.ts", "scripts": { - "lint": "eslint src --ext ts --max-warnings=0", + "lint": "eslint src/**/*.ts --max-warnings=0", "check-types": "tsc --noEmit", "test": "vitest --globals --run", "format": "prettier --write src" diff --git a/evals/packages/types/package.json b/evals/packages/types/package.json index 229c2bd780..7e6f58afe4 100644 --- a/evals/packages/types/package.json +++ b/evals/packages/types/package.json @@ -4,7 +4,7 @@ "type": "module", "exports": "./src/index.ts", "scripts": { - "lint": "eslint src --ext ts --max-warnings=0", + "lint": "eslint src/**/*.ts --max-warnings=0", "check-types": "tsc --noEmit", "format": "prettier --write src" }, diff --git a/package.json b/package.json index 9e80dfafd8..ca76bc4990 100644 --- a/package.json +++ b/package.json @@ -359,7 +359,7 @@ "install-webview": "cd webview-ui && npm install", "install-e2e": "cd e2e && npm install", "lint": "npm-run-all -l -p lint:*", - "lint:extension": "eslint src --ext ts", + "lint:extension": "eslint src/**/*.ts", "lint:webview": "cd webview-ui && npm run lint", "lint:e2e": "cd e2e && npm run lint", "check-types": "npm-run-all -l -p check-types:*", diff --git a/webview-ui/package.json b/webview-ui/package.json index 6c4c157176..981e540f7e 100644 --- a/webview-ui/package.json +++ b/webview-ui/package.json @@ -4,8 +4,8 @@ "private": true, "type": "module", "scripts": { - "lint": "eslint src --ext ts,tsx", - "lint-fix": "eslint src --ext ts,tsx --fix", + "lint": "eslint src/**/*.ts src/**/*.tsx", + "lint-fix": "eslint src/**/*.ts src/**/*.tsx --fix", "check-types": "tsc", "test": "jest", "dev": "vite",