Skip to content

Commit 6c4f3a1

Browse files
authored
chore(config): add base project configs (#4)
* chore(editorconfig): add base formatting rules -LF line endings, UTF-8 charset - Final newline, trim trailing whitespace - 2-space indentation, max line length 130 * chore(gitignore): add comprehensive ignore rules - Ignore dependencies: node_modules, .pnp, .env files - Ignore debug artifacts: logs, traces - Ignore build outputs: dist, build, out, cache, tmp, tsbuildinfo - Ignore IDE configs: .idea, .vscode, .fleet, Sublime files - Ignore testing outputs: coverage, test-results, snapshots - Ignore framework/platform outputs: .next, .nuxt, .vercel, .turbo - Ignore CI/CD & deployment secrets: keys, certs, db files, .venv - Ignore vendor/generated content: contentlayer, react-email, generated types - Ignore monorepo workspace outputs: packages/* and apps/* build artifacts - Ignore OS & misc files: Thumbs.db, .DS_Store, swap, bak, tmp
1 parent 29d6a7e commit 6c4f3a1

3 files changed

Lines changed: 2764 additions & 0 deletions

File tree

.editorconfig

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# ℹ️ Stop the editor from looking for .editorconfig files in the parent directories
2+
root = true
3+
4+
[*]
5+
# ℹ️ Which line break format should be used at the ends of lines?
6+
end_of_line = lf
7+
8+
# ℹ️ Should a new blank line be created after the last line?
9+
insert_final_newline = true
10+
11+
# ℹ️ What is the preferred character encoding for files?
12+
charset = utf-8
13+
14+
# ℹ️ Trimming of trailing spaces?
15+
trim_trailing_whitespace = true
16+
17+
# ℹ️ What is the preferred indent style?
18+
indent_style = space
19+
20+
# ℹ️ What is the preferred indent size?
21+
indent_size = 2
22+
23+
# ℹ️ What is the maximum character limit allowed in a single line?
24+
max_line_length = 130

.gitignore

Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
# Ignore : Dependencies
2+
node_modules/
3+
.pnp/
4+
.pnp.js
5+
6+
# Ignore : Environment
7+
.env
8+
.env.*
9+
!*.env.example
10+
next-env.d.ts
11+
12+
# Ignore : Debug
13+
*.log
14+
*.log*
15+
*.trace
16+
17+
# Ignore : Outputs
18+
dist/
19+
build/
20+
out/
21+
.swc/
22+
.cache/
23+
.temp/
24+
.tmp/
25+
*.tsbuildinfo
26+
27+
# Ignore : IDE
28+
.idea/
29+
.vscode/
30+
.fleet/
31+
*.sublime-workspace
32+
*.sublime-project
33+
34+
# Ignore : Testing
35+
coverage/
36+
test-results/
37+
jest.config.js
38+
*.snap
39+
40+
# Ignore : Frameworks & Platforms
41+
.next/
42+
.nuxt/
43+
.vercel/
44+
.turbo/
45+
46+
# Ignore : CI/CD & Deployment
47+
.DS_Store
48+
*.pem
49+
*.key
50+
*.crt
51+
*.pub
52+
*.ndjson
53+
*.csv
54+
*.sqlite
55+
*.db
56+
*.tinyb
57+
.venv
58+
*.lockb
59+
60+
# Ignore : Vendors & Generated
61+
contentlayer/
62+
.contentlayer/
63+
.content-collections/
64+
.react-email/
65+
generated/
66+
gen/
67+
types/generated.ts
68+
69+
# Ignore : Monorepo & Workspace
70+
packages/*/dist/
71+
packages/*/build/
72+
packages/*/src/prisma
73+
apps/*/dist/
74+
apps/*/build/
75+
apps/*/.next/
76+
apps/*/.turbo/
77+
apps/*/coverage/
78+
79+
# Ignore : OS & Misc
80+
Thumbs.db
81+
ehthumbs.db
82+
Desktop.ini
83+
$RECYCLE.BIN/
84+
*.swp
85+
*.swo
86+
*.bak
87+
*.tmp
88+
.vercel

0 commit comments

Comments
 (0)