diff options
-rw-r--r-- | .editorconfig | 21 |
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 | |||
4 | root = true | ||
5 | |||
6 | [*] | ||
7 | end_of_line = lf | ||
8 | charset = utf-8 | ||
9 | |||
10 | [*.yml] | ||
11 | indent_style = space | ||
12 | indent_size = 2 | ||
13 | |||
14 | [{client,server,shared}/**.{ts,json,js}] | ||
15 | trim_trailing_whitespace = true | ||
16 | insert_final_newline = true | ||
17 | indent_style = space | ||
18 | indent_size = 2 | ||
19 | |||
20 | [*.md] | ||
21 | trim_trailing_whitespace = false | ||