Add .editorconfig v1 PROPOSED

aerc uses gofmt for style.
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~sircmpwn/aerc/patches/8733/mbox | git am -3
Learn more about email & git

[PATCH] Add .editorconfig Export this patch

Having trouble as I forget to change styles for different projects.
Would love to make sure I don't send patches that don't adhere to
the projects style.
This is just copied from the ctools projects. Hopefully not to different.
 .editorconfig | 9 +++++++++
 1 file changed, 9 insertions(+)
 create mode 100644 .editorconfig

diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 000000000000..a1f064e1b62f
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,9 @@
+root = true
+end_of_line = lf
+insert_final_newline = true
+charset = utf-8
+trim_trailing_whitespace = true
+indent_style = tab
+indent_size = 8
aerc uses gofmt for style.
View this thread in the archives