e2e/eslint-plugin-start/README.md
Runs end-to-end linting tests against @tanstack/eslint-plugin-start.
pnpm install at repo roothyperfine installed (used for perf benchmarking)pnpm -C e2e/eslint-plugin-start test:e2epnpm -C e2e/eslint-plugin-start test:lintGenerates synthetic fixtures (gitignored) and measures lint time.
small: no noise files, just a route + component chain. Measures the cost of the "real" rule work.huge: thousands of irrelevant files + a route + component chain. Measures gating overhead across a large codebase.pnpm -C e2e/eslint-plugin-start perf:bench:smallpnpm -C e2e/eslint-plugin-start perf:bench:hugeOptional env vars (huge mode):
PERF_NOISE_FILES=5000 (default)PERF_CHAIN_DEPTH=50 (default)Notes:
perf:lint only targets src/perf/generated/** so results aren’t dominated by other fixtures.*.cpuprofile file):
node --cpu-prof --cpu-prof-name=cpu.cpuprofile ./node_modules/eslint/bin/eslint.js "src/perf/generated/**/*.{ts,tsx}"