summaryrefslogtreecommitdiff
path: root/.editorconfig
diff options
context:
space:
mode:
authorHécate Moonlight <hecate+gitlab@glitchbra.in>2021-05-04 20:11:32 +0200
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-05-05 05:45:39 -0400
commit049c3a83fbce67e58e70c727d89e8331608a4e04 (patch)
tree4bc99b4485585ee37c595cb4f2b26d4d99ecc610 /.editorconfig
parent3280eb2216b44d46813fe8e026ebdfc9ac0547a9 (diff)
downloadhaskell-049c3a83fbce67e58e70c727d89e8331608a4e04.tar.gz
Add an .editorconfig file
closes #19793
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig14
1 files changed, 14 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000000..2b77e74942
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,14 @@
+# http://editorconfig.org
+
+root = true
+
+[*.hs]
+indent_style = space
+indent_size = 2
+trim_trailing_whitespace = true
+insert_final_newline = true
+charset = utf-8
+end_of_line = lf
+
+[Makefile]
+indent_style = tab