Skip to content

Commit faf7b10

Browse files
committed
chore: add .editorconfig for consistent code formatting
Signed-off-by: Srikanth Patchava <srpatcha@users.noreply.github.com>
1 parent 171b65a commit faf7b10

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

.editorconfig

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
root = true
2+
3+
[*]
4+
end_of_line = lf
5+
insert_final_newline = true
6+
trim_trailing_whitespace = true
7+
charset = utf-8
8+
indent_style = space
9+
indent_size = 4
10+
11+
[*.{yml,yaml}]
12+
indent_size = 2
13+
14+
[*.{json,jsonc}]
15+
indent_size = 2
16+
17+
[*.md]
18+
indent_size = 2
19+
trim_trailing_whitespace = false
20+
21+
[*.{sh,bash}]
22+
indent_size = 2
23+
24+
[*.{ps1,psm1,psd1}]
25+
indent_size = 4
26+
27+
[Makefile]
28+
indent_style = tab

0 commit comments

Comments
 (0)