Files
managing-apps/.cursorban

141 lines
2.7 KiB
Plaintext

# Prevent sending sensitive configuration files to AI services
#######################
# GENERAL RULES
#######################
# App settings files
**/appsettings*.json
**/appSettings*.json
**/app.settings*.json
**/app.config
# Environment files
**/.env*
**/*.env
# Key files and certificates
**/*.pfx
**/*.key
**/*.pem
**/*.p12
**/*.cer
**/*.crt
# Credentials and tokens
**/credentials.json
**/token.json
**/secrets.json
**/auth.json
# Config files that might contain secrets
**/connection.json
**/database.json
**/firebase.json
**/aws.json
**/azure.json
**/google-services.json
**/googleservices.json
# Local development overrides
**/local.settings.json
**/launchSettings.json
# User-specific files
**/*.user
**/*.pubxml
# Other potentially sensitive files
**/privatekey.json
**/private_key.json
**/service-account.json
**/firebaserc
**/firebase-adminsdk.json
**/firebase-service-account.json
# Log files (may contain sensitive info)
**/logs/
**/*.log
#######################
# BACKEND RULES (.NET)
#######################
# Database migrations and sensitive data models
**/Migrations/
**/bin/
**/obj/
# .NET specific configuration
**/Properties/PublishProfiles/
**/Properties/ServiceDependencies/
**/*.Development.json
**/*.Production.json
**/*.Staging.json
# Sensitive backend services
**/Services/Auth/
**/Services/Payment/
**/Infrastructure/Security/
**/Infrastructure/Database/Configurations/
# API keys and connection strings
**/Managing.Infrastructure.Database/MongoDb/Configurations/
**/Managing.Infrastructure.Messengers/Discord/
#######################
# FRONTEND RULES
#######################
# Build artifacts
**/node_modules/
**/dist/
**/build/
# Frontend configuration with sensitive data
**/src/config/api.ts
**/src/config/auth.ts
**/src/config/keys.ts
**/src/config/endpoints.ts
# Authentication related components
**/src/services/auth/
**/src/hooks/useAuth.ts
**/src/stores/authStore.ts
# Web3 wallet configurations
**/src/config/wallet.ts
**/src/config/web3.ts
**/src/config/chains.ts
# Large generated files
**/src/generated/
**/*.generated.ts
**/*.graphql.ts
# Test data with potentially sensitive information
**/src/mocks/
**/src/__tests__/fixtures/
**/cypress/fixtures/
#######################
# PROJECT SPECIFIC
#######################
# Discord bot configuration
**/Managing.Infrastructure.Messengers/Discord/DiscordBotConfig.cs
# Web3 wallet integration
**/Managing.Infrastructure.Web3/Wallets/
# Trading strategies with proprietary algorithms
**/Managing.Application/Trading/Strategies/
# User data and analytics
**/Managing.Application/Users/
**/Managing.Application/Analytics/
# Database schemas with sensitive fields
**/Managing.Domain/Entities/User.cs
**/Managing.Domain/Entities/Wallet.cs
**/Managing.Domain/Entities/ApiKey.cs