diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..6f781df --- /dev/null +++ b/.editorconfig @@ -0,0 +1,18 @@ +root = true + +[*] +charset = utf-8 +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true +indent_style = space +indent_size = 2 + +[*.go] +indent_style = tab + +[Makefile] +indent_style = tab + +[*.md] +trim_trailing_whitespace = false diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..fa81ca6 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,12 @@ +# Normalise to LF everywhere; scripts and configs run on Linux. +* text=auto eol=lf + +*.png binary +*.jpg binary +*.ico binary +*.woff2 binary + +# Generated code: collapsed in diffs +proto/gen/** linguist-generated=true +server/api/gen/** linguist-generated=true +web/src/api/schema.d.ts linguist-generated=true diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..eef7cb5 --- /dev/null +++ b/.gitignore @@ -0,0 +1,35 @@ +# Build output +/bin/ +/dist/ +/coverage/ +*.test +*.out +coverage.txt +coverage.html + +# Web +/web/node_modules/ +/web/dist/* +!/web/dist/.gitkeep +/web/coverage/ +*.tsbuildinfo + +# Local configuration and secrets (never commit) +*.key +*.pem +*.p12 +*.pfx +master.key +.env +.env.* +!.env.example +/deploy/compose/.env +/local/ + +# Editors and OS +.idea/ +.vscode/* +!.vscode/extensions.json +*.swp +.DS_Store +Thumbs.db