diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..dbd6792 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,55 @@ +# EditorConfig is awesome: https://editorconfig.org +root = true + +# ------------------------------------------------- +# General settings – apply to all files +# ------------------------------------------------- +[*] +charset = utf-8 +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true + +# ------------------------------------------------- +# Markdown (*.md) +# ------------------------------------------------- +[*.md] +max_line_length = off # Markdown lines can be long +trim_trailing_whitespace = false # Preserve intentional spaces + +# ------------------------------------------------- +# Go (*.go) +# ------------------------------------------------- +[*.go] +indent_style = tab +indent_size = 4 +trim_trailing_whitespace = true +max_line_length = 100 + +# ------------------------------------------------- +# JavaScript & TypeScript (*.js, *.jsx, *.ts, *.tsx) +# ------------------------------------------------- +[*.{js,jsx,ts,tsx}] +indent_style = space +indent_size = 2 +insert_final_newline = true +trim_trailing_whitespace = true +max_line_length = 120 + +# ------------------------------------------------- +# HTML (*.html, *.htm) +# ------------------------------------------------- +[*.{html,htm}] +indent_style = space +indent_size = 2 +max_line_length = 120 +trim_trailing_whitespace = true + +# ------------------------------------------------- +# CSS & SCSS (*.css, *.scss) +# ------------------------------------------------- +[*.{css,scss}] +indent_style = space +indent_size = 2 +max_line_length = 120 +trim_trailing_whitespace = true diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 0000000..bc5795e --- /dev/null +++ b/.prettierignore @@ -0,0 +1,95 @@ +# ============================================= +# Linear Void .prettierignore +# ============================================= + +# Dependencies +node_modules/ + +# Build outputs +dist/ +build/ +out/ +*.min.js + +# Test coverage +coverage/ +coverage.out + +# Go source (handled by gofmt, not prettier) +*.go +go.mod +go.sum + +# Binary / compiled +*.exe +*.dll +*.so +*.dylib + +# Media files +*.m4s +*.m3u8 +*.ts.tmp # FFmpeg temp, not TypeScript +*.m3u8.tmp +*.png +*.jpg +*.jpeg +*.gif +*.svg +*.ico +*.webp +*.mp4 +*.webm +*.mp3 +*.ogg + +# Runtime data +data/ +pids +*.pid +*.seed +*.pid.lock + +# Databases +*.db +*.sqlite +*.sqlite3 + +# Lockfile (auto-generated, don't reformat) +package-lock.json + +# Shell scripts (prettier doesn't handle sh) +*.sh + +# Environment & secrets +.env +.env.* +!.env.example + +# Logs +*.log + +# Editor & IDE +.vscode/ +.idea/ +*.swp +*.swo + +# OS files +.DS_Store +Thumbs.db + +# Git +.git/ + +# Terraform / IaC +*.tfstate +*.tfstate.backup +.terraform/ + +# Temp & backup files +**/*.tmp +**/*.bak + +# Docker +.dockerignore