Skip to content

Commit 2d56647

Browse files
fix: scope lint to source files only — pickier was scanning node_modules
Pickier doesn't respect .gitignore by default and the glob '.' caused it to count 295K files (including node_modules) before aborting. Scoped the lint script to 'packages/*/src/**/*.ts' which targets only source files. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 189b6a1 commit 2d56647

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@
6565
"prepublishOnly": "bun run build",
6666
"setup": "bun run scripts/setup.ts",
6767
"test": "bun test",
68-
"lint": "bunx --bun pickier .",
69-
"lint:fix": "bunx --bun pickier . --fix",
68+
"lint": "bunx --bun pickier 'packages/*/src/**/*.ts'",
69+
"lint:fix": "bunx --bun pickier 'packages/*/src/**/*.ts' --fix",
7070
"format": "bunx --bun pickier . --format",
7171
"format:fix": "bunx --bun pickier . --format --write",
7272
"format:check": "bunx --bun pickier run --mode format --check",

0 commit comments

Comments
 (0)