# Ignore everything by default (whitelist approach).
# This is critical for a security research tool — prevents
# accidental commit of browser data files (Cookies, Login Data, etc.)
*

# Allow git to traverse directories
!*/

# === Source code ===
!*.go
!go.mod
!go.sum

# === Project root config ===
!.gitattributes
!.gitignore
!.golangci.yml
!.goreleaser.yml
!.typos.toml
!CLAUDE.md
!LICENSE

# === Documentation ===
!README.md
!CONTRIBUTING.md
!CODE_OF_CONDUCT.md
!LOGO.png
!CONTRIBUTORS.svg

# === GitHub ===
!.github/workflows/*.yml
!.github/ISSUE_TEMPLATE/*.md
!.github/PULL_REQUEST_TEMPLATE.md
!.github/dependabot.yml
!.github/release-drafter.yml

# === RFCs ===
!rfcs/*.md

# === Always ignore (override !*/) ===
.git/
.idea/
.vscode/
vendor/
result/
results/
.DS_Store
