Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ yarn-error.log
# testing
/coverage

# ESLint cache for faster incremental lints
.eslintcache

# Bun
bun.lockb
dist
Expand Down
8 changes: 7 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
# make test - Run tests
#
# Parallelism:
# Use make -jN to run independent tasks concurrently (e.g., make -j4 build)
# Runs in parallel by default for faster builds. Use -j1 for sequential execution.
# Individual targets can opt out with .NOTPARALLEL if needed.
#
# Backwards Compatibility:
# All commands also work via `bun run` (e.g., `bun run dev` calls `make dev`)
Expand All @@ -23,6 +24,11 @@
# Branches reduce reproducibility - builds should fail fast with clear errors
# if dependencies are missing, not silently fall back to different behavior.

# Enable parallel execution by default (only if user didn't specify -j)
ifeq (,$(filter -j%,$(MAKEFLAGS)))
MAKEFLAGS += -j
endif

# Include formatting rules
include fmt.mk

Expand Down
4 changes: 2 additions & 2 deletions scripts/lint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ ESLINT_PATTERN='src/**/*.{ts,tsx}'

if [ "$1" = "--fix" ]; then
echo "Running bun x eslint with --fix..."
bun x eslint "$ESLINT_PATTERN" --fix
bun x eslint --cache "$ESLINT_PATTERN" --fix
else
echo "Running eslint..."
bun x eslint "$ESLINT_PATTERN"
bun x eslint --cache "$ESLINT_PATTERN"
echo "ESLint checks passed!"
fi