From fa996683c30c7b6d93b9a85bdad0599212066654 Mon Sep 17 00:00:00 2001 From: Invoice Master Date: Wed, 4 Feb 2026 23:24:12 +0100 Subject: [PATCH] chore: update .gitignore for .NET 10 + React project - Add comprehensive .NET/C# ignore patterns - Add React/Vite/Node.js ignore patterns - Remove obsolete Python-specific patterns - Organize by technology stack --- .gitignore | 151 +++++++++++++++++++++++++++++++++-------------------- 1 file changed, 95 insertions(+), 56 deletions(-) diff --git a/.gitignore b/.gitignore index ba99e8c..1ece21c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,26 +1,90 @@ -# Python +# .NET / C# +## Build outputs +bin/ +obj/ +out/ + +## Visual Studio +.vs/ +*.suo +*.user +*.userosscache +*.sln.docstates +*.userprefs + +## Visual Studio Code +.vscode/ +!.vscode/settings.json +!.vscode/tasks.json +!.vscode/launch.json +!.vscode/extensions.json + +## Rider / IntelliJ +.idea/ +*.sln.iml + +## .NET Core +project.lock.json +project.fragment.lock.json +artifacts/ + +## ASP.NET Scaffolding +ScaffoldingReadMe.txt + +## NuGet +*.nupkg +*.snupkg +.nuget/ +packages/ + +## Test Results +TestResults/ +*.trx +*.coverage +*.coveragexml + +## BenchmarkDotNet +BenchmarkDotNet.Artifacts/ + +# Frontend (React/Vite) +## Dependencies +node_modules/ +.pnp +.pnp.js + +## Build outputs +dist/ +dist-ssr/ +build/ +*.local + +## Logs +npm-debug.log* +yarn-debug.log* +yarn-error.log* +.pnpm-debug.log* + +## TypeScript +*.tsbuildinfo + +## Vite +.vite/ + +## ESLint +.eslintcache + +## Stylelint +.stylelintcache + +# Python (if any scripts) __pycache__/ *.py[cod] *$py.class *.so .Python -build/ -develop-eggs/ -dist/ -downloads/ -eggs/ -.eggs/ -lib/ -lib64/ -parts/ -sdist/ -var/ -wheels/ -share/python-wheels/ *.egg-info/ .installed.cfg *.egg -MANIFEST # Virtual environments venv/ @@ -28,13 +92,12 @@ ENV/ env/ .venv -# IDEs -.vscode/ -.idea/ +# IDEs and Editors *.swp *.swo *~ .DS_Store +Thumbs.db # Environment variables .env @@ -51,17 +114,9 @@ env/ *.log logs/ -# Testing -.coverage -.pytest_cache/ +# Coverage +coverage/ htmlcov/ -.tox/ -.nox/ - -# MyPy -.mypy_cache/ -.dmypy.json -dmypy.json # Terraform .terraform/ @@ -71,33 +126,6 @@ dmypy.json !.tfvars.example .terraform.lock.hcl -# Node.js -node_modules/ -npm-debug.log* -yarn-debug.log* -yarn-error.log* -.pnpm-debug.log* - -# Build outputs -dist/ -dist-ssr/ -build/ -*.local - -# TypeScript -*.tsbuildinfo - -# Vite -.vite/ - -# Coverage -coverage/ - -# Temporary files -*.tmp -*.temp -.cache/ - # Azure azure_credentials.json @@ -106,5 +134,16 @@ azure_credentials.json *.key secrets/ -# OS +# Temporary files +*.tmp +*.temp +.cache/ + +# OS files +.DS_Store Thumbs.db +desktop.ini + +# Misc +*.bak +*.orig