Skip to content

Commit 1f99e67

Browse files
Add .gitignore file to exclude temporary and generated files
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
1 parent 9dd7567 commit 1f99e67

File tree

1 file changed

+49
-60
lines changed

1 file changed

+49
-60
lines changed

.gitignore

Lines changed: 49 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,43 @@
1-
# Binaries for programs and plugins
1+
# Build artifacts
22
*.exe
3-
*.exe~
43
*.dll
54
*.so
65
*.dylib
7-
api-security-scanner
8-
api-security-scanner-test
9-
api-security-scanner-custom
6+
*.out
7+
test-scanner
108

11-
# Test binary, built with `go test -c`
12-
*.test
9+
# Configuration files that may contain sensitive information
10+
config/dashboard_credentials.json
11+
config/local.yaml
12+
config/dev.yaml
13+
config/test.yaml
14+
*.local.yaml
1315

14-
# Output of the go coverage tool, specifically when used with LiteIDE
15-
*.out
16+
# History and scan results
17+
history/
18+
test-history/
1619

17-
# Dependency directories (remove the comment below to include it)
18-
vendor/
20+
# Logs
21+
*.log
22+
logs/
23+
*.out
1924

20-
# Go workspace file
21-
go.work
25+
# Environment specific
26+
.env
27+
.env.local
28+
.env.development.local
29+
.env.test.local
30+
.env.production.local
2231

23-
# IDE files
32+
# IDE
2433
.vscode/
2534
.idea/
2635
*.swp
2736
*.swo
2837
*~
2938

30-
# OS generated files
39+
# OS
40+
.DSCode
3141
.DS_Store
3242
.DS_Store?
3343
._*
@@ -36,58 +46,37 @@ go.work
3646
ehthumbs.db
3747
Thumbs.db
3848

39-
# Log files
40-
*.log
41-
logs/
49+
# Node.js (for GUI)
50+
node_modules/
51+
npm-debug.log*
52+
yarn-debug.log*
53+
yarn-error.log*
54+
dist/
55+
build/
56+
.nyc_output
57+
coverage/
58+
.nyc_output/
4259

43-
# Coverage reports
44-
coverage.html
45-
coverage.out
60+
# Go specific
61+
vendor/
62+
go.mod
63+
go.sum
4664

47-
# Configuration files with sensitive data
48-
config-local.yaml
49-
config-prod.yaml
50-
.env
65+
# Docker
66+
.dockerignore
67+
*.dockerignore
5168

5269
# Temporary files
5370
*.tmp
5471
*.temp
5572
tmp/
73+
temp/
5674

57-
# Node modules (if any frontend components)
58-
node_modules/
59-
60-
# Build artifacts
61-
dist/
62-
build/
63-
64-
# Documentation build
65-
docs/_build/
66-
67-
# Cache directories
68-
.cache/
69-
*.cache
70-
71-
# Database files
72-
*.db
73-
*.sqlite
74-
*.sqlite3
75-
76-
# Session files
77-
*.session
78-
79-
# Backup files
75+
# Editor backup files
76+
*~
8077
*.bak
81-
*.backup
82-
83-
# Archive files
84-
*.tar.gz
85-
*.zip
86-
*.rar
87-
88-
# Development files
89-
*.dev
90-
*.local
78+
*.swp
9179

92-
# Roadmap documentation (commit for historical reference)
93-
# IMPLEMENTATION_ROADMAP.md
80+
# Development/test configuration
81+
test-config*.yaml
82+
local-config.yaml

0 commit comments

Comments
 (0)