chess/.gitignore
Christoph Wagner 2dd2439662
Some checks failed
CI Pipeline / Code Linting (push) Failing after 13s
CI Pipeline / Run Tests (push) Failing after 18s
CI Pipeline / Build Verification (push) Has been skipped
CI Pipeline / Generate Quality Report (push) Failing after 5s
chore: Improve .gitignore - remove tracked runtime files
Enhanced .gitignore to properly exclude all runtime and temporary files
from version control.

## Changes Made

### Files Removed from Tracking
- .claude-flow/metrics/*.json (runtime metrics)
- .swarm/memory.db (swarm state database)

These files were previously tracked but should never be versioned as they
contain runtime state that changes frequently.

### .gitignore Improvements

**Removed Duplicate:**
- .swarm/ was listed twice (lines 6 and 64)

**Added Patterns:**
- npm-debug.log*, yarn-debug.log*, yarn-error.log* (npm/yarn logs)
- test-results/ (Playwright test outputs)
- playwright-report/ (Playwright HTML reports)
- playwright/.cache/ (Playwright browser cache)
- *.spec.js.snap (Jest snapshots for E2E tests)
- .npm/ (npm cache directory)
- .eslintcache (ESLint cache file)
- *.tsbuildinfo (TypeScript build info)

**Reorganized Sections:**
- Clearer section headers
- Removed redundant .swarm/ entry
- Better categorization of patterns

## Benefits

 No more runtime files cluttering git status
 Cleaner git history (no metric/state changes)
 Better Playwright test support
 Comprehensive npm/yarn log exclusion
 Organized and maintainable .gitignore

## Verification

After this commit:
- git status should be clean
- Runtime files (.db, metrics) no longer tracked
- All test artifacts properly excluded

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-23 10:14:29 +01:00

77 lines
939 B
Plaintext

# Claude Flow & Swarm Coordination
.claude/settings.local.json
.mcp.json
claude-flow.config.json
.swarm/
.hive-mind/
.claude-flow/
memory/
coordination/
memory/claude-flow-data.json
memory/sessions/*
!memory/sessions/README.md
memory/agents/*
!memory/agents/README.md
coordination/memory_bank/*
coordination/subtasks/*
coordination/orchestration/*
*.db
*.db-journal
*.db-wal
*.sqlite
*.sqlite-journal
*.sqlite-wal
claude-flow
hive-mind-prompt-*.txt
# Project specific
# Dependencies
node_modules/
package-lock.json
# Testing
coverage/
.nyc_output/
test-results/
playwright-report/
playwright/.cache/
*.spec.js.snap
# Build outputs
dist/
build/
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# IDE
.vscode/
.idea/
*.swp
*.swo
*~
# OS
.DS_Store
Thumbs.db
# Environment
.env
.env.local
.env.*.local
# Temporary files
*.tmp
*.temp
# CI/CD artifacts
quality-report.md
release/
# Runtime & Cache
.npm/
.eslintcache
*.tsbuildinfo