summaryrefslogtreecommitdiffstats
path: root/.editorconfig
diff options
context:
space:
mode:
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig21
1 files changed, 21 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..5046df1
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,21 @@
1root = true
2
3[*]
4charset = utf-8
5end_of_line = lf
6insert_final_newline = true
7trim_trailing_whitespace = true
8indent_style = space
9indent_size = 4
10
11[*.{js,mjs,cjs,json,yml,yaml,html,css,md}]
12indent_size = 2
13
14[*.md]
15trim_trailing_whitespace = false
16
17[*.rs]
18max_line_length = 100
19
20[Makefile]
21indent_style = tab