Create .editorconfig
taylor_socfortress committed
Jul 10, 2023 at 16:33 UTC
af43ade6db08344b577457ddfb6a5307e4ad1af6
1 file changed
+30
.editorconfig
new
+30
@@ -0,0 +1,30 @@
1
+# EditorConfig is awesome: http://EditorConfig.org
2
+
3
+# top-most EditorConfig file
4
+root = true
5
+
6
+# Unix-style newlines with a newline ending every file
7
+[*]
8
+indent_style = space
9
+indent_size = 4
10
+trim_trailing_whitespace = true
11
+insert_final_newline = true
12
+charset = utf-8
13
+end_of_line = lf
14
+
15
+# 2 spaces for YAML
16
+[*.{yml,yaml}]
17
+indent_size = 2
18
+
19
+# 2 spaces for web things
20
+[*.{js,vue,html,json}]
21
+indent_size = 2
22
+
23
+# Windows, windows, windows
24
+[*.{bat,cmd,ps1}]
25
+indent_style = tab
26
+end_of_line = crlf
27
+
28
+# Makefile, tabs are a must
29
+[Makefile]
30
+indent_style = tab