aboutsummaryrefslogtreecommitdiffhomepage
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 000000000..b7d3033f3
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,21 @@
1; This file is for unifying the coding style for different editors and IDEs.
2; More information at http://editorconfig.org to setup your IDE if need be.
3
4root = true
5
6[*]
7end_of_line = lf
8charset = utf-8
9
10[*.yml]
11indent_style = space
12indent_size = 2
13
14[{client,server,shared}/**.{ts,json,js}]
15trim_trailing_whitespace = true
16insert_final_newline = true
17indent_style = space
18indent_size = 2
19
20[*.md]
21trim_trailing_whitespace = false