aboutsummaryrefslogtreecommitdiffstats
path: root/.editorconfig
diff options
context:
space:
mode:
authorMoritz Poldrack <git@moritz.sh>2022-08-05 14:31:36 +0200
committerRobin Jarry <robin@jarry.cc>2022-08-05 21:57:12 +0200
commit8c64bda5a0dd687e49323ebb319edb4b4c20c75a (patch)
treec4dfc763ea133432906b7a8a0b0b5b0a002e607e /.editorconfig
parent6057d156e6abd0b4c309e00c05021213565a2775 (diff)
downloadaerc-8c64bda5a0dd687e49323ebb319edb4b4c20c75a.tar.gz
doc: add contribution guidelines including code style
The Linux kernel code style rules have been used as a well-tested basis and sections pertaining C-specific rules – such as macros – have been removed. For it a short section on the used formatter is added for further reference. Link: https://www.kernel.org/doc/html/v5.19-rc8/process/coding-style.html Signed-off-by: Moritz Poldrack <git@moritz.sh> Signed-off-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig7
1 files changed, 3 insertions, 4 deletions
diff --git a/.editorconfig b/.editorconfig
index a250a2da..6a5a6ddf 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -1,5 +1,4 @@
-# -*- mode: ini; -*-
-# ex: ft=dosini
+# https://editorconfig.org/
root = true
@@ -10,8 +9,8 @@ charset = utf-8
[**.go]
indent_style = tab
-max_line_length = 100
-tab_width = 4
+max_line_length = 80
+tab_width = 8
[Makefile]
indent_style = tab