fix(cli): ignore the CLI test scratch fixture root (#2524)

* fix(cli): ignore the CLI test scratch fixture root

tests/cli/helpers.ts copies fixtures into tests/cli/.tmp and removeDir is
best-effort, so a failed or interrupted dev test leaves copies behind. The
path was in neither .gitignore nor .prettierignore, so the leftovers showed
up as untracked files and broke pnpm format:check on generated sources until
the directory was deleted by hand.

Ignore it in both tools, matching dist/, .turbo, .next/, .mcp-use and
deno-test-temp.

* fix(cli): ignore test scratch directories in ESLint

---------

Co-authored-by: Aishwary Dongre <aishwary.dongre@neuralarc.ai>
Co-authored-by: Andrew Khadder <andrew@manufact.com>
This commit is contained in:
aishwary-dongre
2026-09-14 11:53:22 +05:30
committed by GitHub
parent 3350560957
commit dcaa0b8df5
3 changed files with 5 additions and 0 deletions
+3
View File
@@ -72,3 +72,6 @@ test_app
# Deno test artifacts
deno-test-temp
*.tgz
# Scratch fixture copies made by the CLI tests
.tmp
+1
View File
@@ -13,6 +13,7 @@
**/.tsup/**
**/.vite/**
**/.mcp-use/**
**/.tmp/**
**/playwright-report/**
**/src/skills/vendor/*.min.js
+1
View File
@@ -10,6 +10,7 @@ export default [
{
ignores: [
"**/.mcp-use/**",
"**/.tmp/**",
"**/node_modules/**",
"**/dist/**",
"**/build/**",