Skip to content

Commit cde1e2e

Browse files
jseguillonbnjjj
authored andcommitted
Add default .editorconfig file (#2894)
* Add default .editorconfig file Signed-off-by: Joel Seguillon <[email protected]> * changing docs/.editorconfig not to be root Signed-off-by: Joel Seguillon <[email protected]> * ident_size to be 4 for htm,html,js,ts,css,scss,less Signed-off-by: Joel Seguillon <[email protected]>
1 parent 4efd8ff commit cde1e2e

File tree

2 files changed

+17
-3
lines changed

2 files changed

+17
-3
lines changed

.editorconfig

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
root = true
2+
3+
[*]
4+
indent_style = space
5+
indent_size = 2
6+
end_of_line = lf
7+
charset = utf-8
8+
trim_trailing_whitespace = true
9+
insert_final_newline = true
10+
11+
[*.md]
12+
trim_trailing_whitespace = false
13+
14+
# Web Files
15+
[*.{htm,html,js,ts,css,scss,less}]
16+
indent_size = 4

docs/.editorconfig

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
root = true
2-
31
[*]
42
indent_style = space
53
indent_size = 4
@@ -10,4 +8,4 @@ charset = utf-8
108
indent_style = tab
119
indent_size = 4
1210
end_of_line = lf
13-
charset = utf-8
11+
charset = utf-8

0 commit comments

Comments
 (0)