summaryrefslogtreecommitdiff
path: root/.editorconfig
diff options
context:
space:
mode:
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig38
1 files changed, 38 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..322d04f
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,38 @@
+root=true
+
+[*]
+charset=utf-8
+end_of_line=lf
+indent_size=2
+indent_style=space
+insert_final_newline=true
+max_line_length=80
+trim_trailing_whitespace=true
+
+[*.nix]
+indent_size=2
+indent_style=space
+
+[*.py]
+indent_size=4
+indent_style=space
+
+[*.{json,jsn}]
+indent_size=2
+indent_style=space
+
+[*.{lisp,cl,rkt,scm,el}]
+indent_size=2
+indent_style=space
+
+[*.{sh,bash}]
+indent_size=2
+indent_style=space
+
+[*.{toml,tml}]
+indent_size=2
+indent_style=space
+
+[*.{yaml,yml}]
+indent_size=2
+indent_style=space