File tree Expand file tree Collapse file tree 3 files changed +12
-3
lines changed Expand file tree Collapse file tree 3 files changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -53,6 +53,9 @@ yarn-error.log
5353# testing
5454/coverage
5555
56+ # ESLint cache for faster incremental lints
57+ .eslintcache
58+
5659# Bun
5760bun.lockb
5861dist
Original file line number Diff line number Diff line change 1010# make test - Run tests
1111#
1212# Parallelism:
13- # Use make -jN to run independent tasks concurrently (e.g., make -j4 build)
13+ # Runs in parallel by default for faster builds. Use -j1 for sequential execution.
14+ # Individual targets can opt out with .NOTPARALLEL if needed.
1415#
1516# Backwards Compatibility:
1617# All commands also work via `bun run` (e.g., `bun run dev` calls `make dev`)
2324# Branches reduce reproducibility - builds should fail fast with clear errors
2425# if dependencies are missing, not silently fall back to different behavior.
2526
27+ # Enable parallel execution by default (only if user didn't specify -j)
28+ ifeq (,$(filter -j% ,$(MAKEFLAGS ) ) )
29+ MAKEFLAGS += -j
30+ endif
31+
2632# Include formatting rules
2733include fmt.mk
2834
Original file line number Diff line number Diff line change @@ -26,9 +26,9 @@ ESLINT_PATTERN='src/**/*.{ts,tsx}'
2626
2727if [ " $1 " = " --fix" ]; then
2828 echo " Running bun x eslint with --fix..."
29- bun x eslint " $ESLINT_PATTERN " --fix
29+ bun x eslint --cache " $ESLINT_PATTERN " --fix
3030else
3131 echo " Running eslint..."
32- bun x eslint " $ESLINT_PATTERN "
32+ bun x eslint --cache " $ESLINT_PATTERN "
3333 echo " ESLint checks passed!"
3434fi
You can’t perform that action at this time.
0 commit comments