aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/README.md b/README.md
index 9521d5c..6adef53 100644
--- a/README.md
+++ b/README.md
@@ -157,3 +157,12 @@ The forge software serves its own source at `/:/source/`.
* [Lindenii Forge itself](https://forge.lindenii.runxiyu.org/lindenii/:/repos/forge/)
* [The Lindenii Project's cgit](https://git.lindenii.runxiyu.org/forge.git/)
* [Codeberg](https://codeberg.org/lindenii/forge/)
+
+## Code style
+
+We follow the Lindenii Project's general code style, which has a few important
+deviations from what most people may be used to:
+
+* We used tabs for indentation everywhere (Go, HTML, CSS, JS, SQL, etc.)
+* All names are in `snake_case`; exported identifiers in Go use
+ `Capitalized_snake_case`. Type identifiers end with `_t`.