summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJannis M. Hoffmann <jannis@fehcom.de>2023-09-07 15:57:14 +0200
committerJannis M. Hoffmann <jannis@fehcom.de>2023-09-07 15:57:14 +0200
commit8659fae92a89007786578460552dd3e19b0f2b11 (patch)
tree1a97e97f26509157b0f5476a6b413b6560523807
parenteb1dcb7d003293a56993552f6cc130ad13abcc30 (diff)
Added editor config
-rw-r--r--.editorconfig39
1 files changed, 39 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..4498548
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,39 @@
+# EditorConfig is awesome: https://EditorConfig.org
+
+# top-most EditorConfig file
+root = true
+
+[*]
+end_of_line = lf
+insert_final_newline = true
+charset = utf-8
+
+[*.{js,py,sh,pl,pm,t}]
+indent_style = space
+indent_size = 4
+trim_trailing_whitespace = true
+
+[*.{css,scss}]
+indent_style = space
+indent_size = 2
+trim_trailing_whitespace = true
+
+[*{.html,.html.ep}]
+indent_style = space
+indent_size = 2
+
+[*.md]
+indent_style = space
+indent_size = 2
+
+[package.json]
+indent_style = space
+indent_size = 2
+
+[actions]
+indent_style = space
+indent_size = 4
+
+[Makefile.PL]
+indent_style = space
+indent_size = 4