Add editor, prettier, and ignore dotfiles

.gitignore extended for TypeScript/Node build artifacts on top of the
prompts-repo template. .editorconfig and .prettierrc match the prompts
template (4-space indents, prose-wrap always for markdown).
This commit is contained in:
2026-05-09 21:27:16 +02:00
parent 31f092b7bc
commit fde1a1da29
5 changed files with 63 additions and 0 deletions

8
.dockerignore Normal file
View File

@@ -0,0 +1,8 @@
.git
node_modules
dist
build
coverage
.DS_Store
.env
.env.*

12
.editorconfig Normal file
View File

@@ -0,0 +1,12 @@
root = true
[*]
indent_style = space
indent_size = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[Makefile]
indent_style = tab

34
.gitignore vendored Normal file
View File

@@ -0,0 +1,34 @@
# OS
.DS_Store
Thumbs.db
# Editors
*.swp
*.swo
*~
*.bak
.idea/
.vscode/
*.sublime-*
# Node
node_modules/
# TypeScript / build artifacts
dist/
build/
*.tsbuildinfo
coverage/
.nyc_output/
# Vitest
.vitest-cache/
# Environment / secrets
.env
.env.*
*.pem
*.key
# quack runtime data (in case anyone runs the CLI from inside the repo)
.quack/

5
.prettierignore Normal file
View File

@@ -0,0 +1,5 @@
node_modules/
yarn.lock
dist/
build/
coverage/

4
.prettierrc Normal file
View File

@@ -0,0 +1,4 @@
{
"tabWidth": 4,
"proseWrap": "always"
}