Files
self/.cursorignore
Justin Hernandez 7dbd46f245 Add docstring reporting script and workflows (#1333)
* Trim docstring coverage snapshots

* format all the tings

* update lock

* Update docstring coverage snapshots (#1521)

* docstring fixes

* address agent feedback

* update lock files

* address agent feedback

* lock react-native-svg version to prevent pipeline failures

* update docstring logic

* remove docstring coverage from ci

* remove old report, fix cursorignroe rule
2025-12-25 11:17:42 -08:00

284 lines
5.7 KiB
Plaintext

# .cursorignore - Cursor AI editor ignore file
# This file prevents Cursor from accessing sensitive files and improves performance
# Note: .gitignore files are automatically included
# ========================================
# Security & Sensitive Files
# ========================================
# Environment and secrets
**/.env
**/.env.*
**/env.sample
**/*secrets*
**/*credentials*
**/*private*
**/google-services.json
**/GoogleService-Info.plist
# Keys and certificates
**/*.key
**/*.pem
**/*.p12
**/*.jks
**/*.keystore
**/*.cer
**/*.crt
**/*.cert
**/mock_*.key
**/mock_*.pem
**/debug.keystore
**/dev-keystore
# Mobile app sensitive files
app/android/app/google-services.json
app/ios/GoogleService-Info.plist
app/android/app/debug.keystore
app/android/dev-keystore
# Deployment scripts and CI/CD
circuits/scripts/server/*.sh
!node_modules/**/*.sh
# Test wallets and mock data
app/ios/passport.json
app/ios/OpenPassport/passport.json
# Environment sample files
app/env.sample
sdk/.env
# ========================================
# Build Outputs & Generated Files
# ========================================
# General build outputs
**/dist/
**/build/
**/out/
**/.next/
**/*.tsbuildinfo
# Mobile build outputs
app/android/app/build/
app/android/build/
app/ios/build/
app/ios/Pods/
app/ios/DerivedData/
# Circuit build outputs
circuits/build/
circuits/**/*.r1cs
circuits/**/*.sym
circuits/**/*.json
circuits/**/*.wasm
circuits/**/*.zkey
circuits/**/*.vkey
circuits/**/*.wtns
circuits/ptau/
# Contract artifacts
contracts/artifacts/
contracts/cache/
contracts/typechain-types/
contracts/ignition/deployments/
# ========================================
# Dependencies & Package Management
# ========================================
# Node modules - everywhere
**/node_modules/
**/pnpm-lock.yaml
**/yarn.lock
**/package-lock.json
**/.yarn/
**/.pnp.*
# Mobile specific
app/android/link-assets-manifest.json
app/ios/link-assets-manifest.json
# ========================================
# Large Data Files
# ========================================
# Circuit deployment artifacts (large JSON files)
app/deployments/artifacts/
# Public keys and trees (large JSON files)
common/pubkeys/public_keys_parsed.json
common/pubkeys/serialized_*.json
common/pubkeys/serialized_csca_tree.json
common/pubkeys/serialized_dsc_tree.json
common/pubkeys/serialized_tree.json
# OFAC and sanctions data
common/ofacdata/
common/sanctionedCountries/
common/ofacdata/original/*.csv
common/ofacdata/scripts/cleaned_sdn.csv
common/sanctionedCountries/outputs/sc_SMT.json
# Mock certificates (numerous files)
common/src/mock_certificates/
# Large SMT (Sparse Merkle Tree) files
contracts/test/utils/smt.json
# Circuit power files
circuits/circuits/utils/crypto/ec/powers/
# Test data files
app/android/android-passport-nfc-reader/app/src/main/assets/tessdata/
# ========================================
# Development & Testing
# ========================================
# Test coverage (but allow docs/coverage for docstring reports)
**/coverage/
!docs/coverage/
**/.nyc_output/
# Test files (optional - you might want AI to see tests)
# **/*.test.ts
# **/*.test.tsx
# **/*.spec.ts
# **/*.spec.tsx
# Temporary files
**/.tmp/
**/tmp/
**/.cache/
**/*.log
**/*.tmp
# ========================================
# IDE & Editor Files
# ========================================
.idea/
*.swp
*.swo
.DS_Store
.cursor/cache/
.cursor/logs/
.cursor/temp/
# ========================================
# Documentation Build
# ========================================
# Documentation builds (if any)
docs/build/
docs/.docusaurus/
documentation/build/
documentation/.docusaurus/
# Development documentation
app/fastlane/DEV.md
common/ofacdata/original/dataspec.txt
# Generated constants from certificates
common/src/constants/skiPem.ts
# Circuit test cases (large)
circuits/tests/**/test_cases.ts
# ========================================
# Platform Specific
# ========================================
# iOS
*.xcworkspace/
app/ios/App Thinning Size Report.txt
# Android
*.iml
.gradle/
local.properties
app/android/android-passport-nfc-reader/examples/
# ========================================
# Miscellaneous
# ========================================
# License files (AI doesn't need these)
LICENSE
NOTICE
# Large media files
**/*.mp4
**/*.mov
**/*.avi
**/*.zip
**/*.tar.gz
# ========================================
# Project Specific Patterns
# ========================================
# Deployment addresses (might contain sensitive info)
contracts/deployed_addresses.json
contracts/ignition/deployments/staging/deployed_addresses.json
contracts/ignition/deployments/*/artifacts/
contracts/deployments/*/
!contracts/deployments/prod/
# Error selectors (generated)
contracts/error-selectors.json
# Hardhat network fork data
contracts/.hardhat_fork_cache/
# Lottie animation files (large JSON)
app/src/assets/animations/*.json
# Font files
app/src/assets/fonts/
# Yarn configuration
**/.yarn/
# Certificate generation config
common/src/scripts/extensions.cnf
# Powers of Tau files
circuits/ptau/
# ========================================
# Allow Important Files
# ========================================
# Ensure important config files are accessible
!tsconfig.json
!**/tsconfig.json
!package.json
!**/package.json
!hardhat.config.ts
!jest.config.*
!babel.config.*
!metro.config.*
!tamagui.config.ts
# Allow docstring coverage reports (tracked in git for coverage tracking)
!docs/coverage/*.json
# Ensure source code is accessible
!**/*.ts
!**/*.tsx
!**/*.js
!**/*.jsx
!**/*.sol
!**/*.circom
# Exception for specific private module setup script
!app/scripts/setup-private-modules.cjs
# But exclude generated TypeScript declaration files
**/*.d.ts
!**/types/*.d.ts
!**/src/types/*.d.ts
!**/global.d.ts