summaryrefslogtreecommitdiffstats
path: root/.editorconfig
diff options
context:
space:
mode:
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig16
1 files changed, 16 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..3e36df7
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,16 @@
1root = true
2
3[*.{cpp,hpp}]
4end_of_line = lf
5insert_final_newline = true
6charset = utf-8
7trim_trailing_whitespace = true
8indent_style = space
9indent_size = 2
10max_line_length = 80
11
12[*.md]
13max_line_length = 80
14
15[COMMIT_EDITMSG]
16max_line_length = 74