Browse Source

add .editorconfig to maintain consistent coding styles (#429)

Signed-off-by: Rigel Kent <sendmemail@rigelk.eu>
Rigel Kent 1 year ago
parent
commit
09e10ac0c9
1 changed files with 21 additions and 0 deletions
  1. 21
    0
      .editorconfig

+ 21
- 0
.editorconfig View File

@@ -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

Loading…
Cancel
Save