Skip to content

Commit 6053a2b

Browse files
author
Nick Sullivan
committed
🎉 Initialize project with gitignore and Prettier config
Sets up development environment standards for a multi-language project. Gitignore covers common artifacts from macOS, editors, Python, Node.js, and build tools. Prettier config ensures consistent formatting across file types with sensible defaults and language-specific overrides.
1 parent 6d27ba3 commit 6053a2b

File tree

2 files changed

+74
-0
lines changed

2 files changed

+74
-0
lines changed

.gitignore

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# macOS
2+
.DS_Store
3+
4+
# Editor/IDE
5+
*.swp
6+
*.local.json
7+
8+
# Python (for testing/examples)
9+
*.pyc
10+
__pycache__/
11+
.pytest_cache/
12+
.venv/
13+
.ruff_cache/
14+
15+
# Node.js (for testing/examples)
16+
node_modules/
17+
.pnpm-store/
18+
19+
# Build artifacts
20+
bin/
21+
lib/
22+
dist/
23+
build/
24+
25+
# Logs
26+
*.log
27+
28+
# Temporary files
29+
*.tmp
30+
*.temp
31+

.prettierrc

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
"printWidth": 88,
3+
"tabWidth": 4,
4+
"singleQuote": false,
5+
"trailingComma": "es5",
6+
"arrowParens": "always",
7+
"proseWrap": "always",
8+
"htmlWhitespaceSensitivity": "css",
9+
"embeddedLanguageFormatting": "auto",
10+
"singleAttributePerLine": false,
11+
"overrides": [
12+
{
13+
"files": ["*.md", "*.mdc"],
14+
"options": {
15+
"parser": "markdown",
16+
"tabWidth": 2,
17+
"printWidth": 88
18+
}
19+
},
20+
{
21+
"files": ["*.json", "*.jsonc"],
22+
"options": {
23+
"tabWidth": 2
24+
}
25+
},
26+
{
27+
"files": ["*.html", "*.xml", "*.svg"],
28+
"options": {
29+
"tabWidth": 2,
30+
"bracketSameLine": true,
31+
"htmlWhitespaceSensitivity": "css",
32+
"singleAttributePerLine": false
33+
}
34+
},
35+
{
36+
"files": ["*.yml", "*.yaml"],
37+
"options": {
38+
"tabWidth": 2
39+
}
40+
}
41+
]
42+
}
43+

0 commit comments

Comments
 (0)