summary refs log tree commit diff
path: root/.editorconfig
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.editorconfig13
-rw-r--r--.editorconfig-checker.json7
2 files changed, 20 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..6afa975
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,13 @@
+root = true
+
+[*]
+charset = utf-8
+end_of_line = lf
+indent_size = 4
+indent_style = tab
+insert_final_newline = true
+trim_trailing_whitespace = true
+
+[*.{json,md,nix,yml}]
+indent_size = 2
+indent_style = space
diff --git a/.editorconfig-checker.json b/.editorconfig-checker.json
new file mode 100644
index 0000000..f9fa45e
--- /dev/null
+++ b/.editorconfig-checker.json
@@ -0,0 +1,7 @@
+{
+  "exclude": [
+    "flake.lock",
+    "LICENSE",
+    "*.txt"
+  ]
+}