Linting
bash
npm run lint # ESLint over the entire tree
npm run lint:files # ESLint over only the files you care aboutnpm run lint:files defaults to every uncommitted file (staged, unstaged, and new untracked files), so you can check just your changes without waiting on a full-tree lint:
bash
npm run lint:files # all uncommitted files
npm run lint:files -- src/foo.ts web/src/App.tsx # only the named files
npm run lint:files -- --fix # autofix the uncommitted set
npm run lint:files -- --fix src/foo.ts # autofix specific filesArguments after -- that start with - are passed straight to ESLint; everything else is treated as a path. Non-lintable paths (.md, .json, directories) are filtered out automatically. The script lives at scripts/lint-files.mjs.