Skip to content

Commit 750daf5

Browse files
krisnyeclaude
andcommitted
chore: add root lint/typecheck scripts; drop dead lint scripts
`pnpm run lint` / `pnpm run typecheck` now work from the repo root (recursive, matching the existing `build`/`test` pattern) — no need to know which package to cd into. Removed the phantom `lint` scripts from data-sync and data-persistence: they had no eslint config or dependency and always errored, which would otherwise break the recursive root lint. CI already lints only @adobe/data, so nothing relied on them. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 77436e8 commit 750daf5

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
"scripts": {
66
"build": "pnpm -r run build",
77
"test": "pnpm -r run test",
8+
"lint": "pnpm -r run lint",
9+
"lint-fix": "pnpm -r run lint-fix",
10+
"typecheck": "pnpm -r run typecheck",
811
"dev": "pnpm -r --parallel run dev",
912
"dev:data": "pnpm --filter @adobe/data run dev",
1013
"link": "pnpm -r --filter @adobe/data* run link",

packages/data-persistence/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
"build": "cp ../../LICENSE . 2>/dev/null || true; tsc -b",
1919
"clean": "rm -rf dist node_modules",
2020
"dev": "tsc -b -w --preserveWatchOutput",
21-
"lint": "pnpm eslint .",
2221
"test": "pnpm exec playwright install chromium && vitest --run",
2322
"test:node": "vitest --run --project=node",
2423
"test:browser": "vitest --run --project=browser",

packages/data-sync/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
"build": "cp ../../LICENSE . 2>/dev/null || true; tsc -b",
1919
"clean": "rm -rf dist node_modules",
2020
"dev": "tsc -b -w --preserveWatchOutput",
21-
"lint": "pnpm eslint .",
2221
"test": "vitest --run --project=node",
2322
"test:node": "vitest --run --project=node"
2423
},

0 commit comments

Comments
 (0)