about summary refs log tree commit diff
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2022-02-20 11:13:29 +0900
committersefidel <contact@sefidel.net>2022-02-20 11:52:17 +0900
commit60ddbd415927779f9a8522c7ae497aabc68d4482 (patch)
tree5b6061bec8f5e2db734e1e8e7079719542bd4959
parent0200ef58246e45bc28412c57dcd6f6cec41f47a9 (diff)
downloadnixrc-60ddbd415927779f9a8522c7ae497aabc68d4482.tar.gz
nixrc-60ddbd415927779f9a8522c7ae497aabc68d4482.zip
chore: add editorconfig
-rw-r--r--.editorconfig17
1 files changed, 17 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..2347317
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,17 @@
+# EditorConfig helps developers define and maintain consistent
+# coding styles between different editors and IDEs
+# editorconfig.org
+
+root = true
+
+[*.nix]
+end_of_line = lf
+trim_trailing_whitespace = true
+indent_style = space
+indent_size = 2
+
+[*.md]
+# double whitespace at end of line
+# denotes a line break in Markdown
+trim_trailing_whitespace = false
+