Skip to content

Commit 6520dc4

Browse files
Configure .gitignore to exclude sensitive environment files
1 parent 8395c7d commit 6520dc4

1 file changed

Lines changed: 47 additions & 2 deletions

File tree

.gitignore

Lines changed: 47 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,55 @@
1+
# Dependencies
12
node_modules/
3+
package-lock.json
4+
yarn.lock
5+
6+
# Environment variables - NEVER COMMIT THESE
27
.env
8+
.env.local
9+
.env.*.local
10+
.env.keys
11+
.env.production.keys
12+
.env.staging.keys
13+
14+
# Logs
15+
logs/
316
*.log
17+
npm-debug.log*
18+
yarn-debug.log*
19+
yarn-error.log*
20+
21+
# OS files
422
.DS_Store
5-
dist/
6-
coverage/
23+
Thumbs.db
24+
25+
# IDE
726
.vscode/
827
.idea/
928
*.swp
1029
*.swo
30+
*~
31+
32+
# Database
33+
*.db
34+
*.sqlite
35+
*.sqlite3
36+
37+
# Build outputs
38+
dist/
39+
build/
40+
41+
# Temp files
42+
temp/
43+
tmp/
44+
.tmp/
45+
46+
# Docker
47+
.dockerignore
48+
docker-compose.override.yml
49+
50+
# Testing
51+
coverage/
52+
.nyc_output/
53+
54+
# Misc
55+
.cache/

0 commit comments

Comments
 (0)