Skip to content

Commit 31cd5fc

Browse files
committed
ci: update of editorconfig file. If changes needed please contribute to https://github.com/Netcracker/.github/blob/main/.editorconfig
1 parent 4d06955 commit 31cd5fc

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

.editorconfig

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
root = true
2+
3+
[{*,.*}]
4+
charset = utf-8
5+
indent_style = space
6+
insert_final_newline = true
7+
trim_trailing_whitespace = true
8+
9+
[*.sh]
10+
end_of_line = lf
11+
12+
[{*.bat,*.cmd}]
13+
end_of_line = crlf
14+
15+
[*.go]
16+
# gofmt defaults to LF for all the platforms: https://github.com/golang/go/issues/16355
17+
end_of_line = lf
18+
19+
[*.md]
20+
# Trailing whitespace is important in Markdown (they distinguish a new line from a new paragraph)
21+
eclint_indent_style = unset
22+
trim_trailing_whitespace = false
23+
24+
[*.json]
25+
insert_final_newline = false
26+
27+
[{go.mod,go.sum,*.go,.gitmodules}]
28+
indent_size = 4
29+
indent_style = tab
30+
31+
[Dockerfile]
32+
indent_size = 4
33+
34+
[*.py]
35+
profile = black
36+
37+
[*.sh]
38+
indent_size = 4

0 commit comments

Comments
 (0)