From fe82a40fcdd8c6758b44b0c34c7c27c0dc31e3df Mon Sep 17 00:00:00 2001
From: Charlie Jonas <charlie@charliejonas.co.uk>
Date: Thu, 8 Oct 2020 17:12:42 +0100
Subject: [PATCH] Add EditorConfig file

EditorConfig (https://editorconfig.org) is a dotfile which stores
configuration that is supported by a wide variety of text editors and
IDEs both natively and with plugins. This allows us to enforce project
standards such as line endings and indentation style.

Signed-off-by: Charlie Jonas <charlie@charliejonas.co.uk>
---
 .editorconfig | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 .editorconfig

diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..57abfdc
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,16 @@
+# https://editorconfig.org
+
+root = true
+
+[*]
+end_of_line = lf
+insert_final_newline = true
+trim_trailing_whitespace = true
+charset = utf-8
+indent_style = space
+
+[Makefile]
+indent_style = tab
+
+[*.go]
+indent_style = tab