Skip to content

Commit 4078426

Browse files
authoredNov 20, 2024
chore: add editor config (#163)
Adds editor config to have standard way of formatting md files, yaml, and go files.
1 parent 09b7461 commit 4078426

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed
 

‎.editorconfig

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Root .editorconfig file
2+
root = true
3+
4+
# Default settings
5+
[*]
6+
charset = utf-8
7+
end_of_line = lf
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true
10+
11+
# Go files
12+
[*.go]
13+
max_line_length = 99
14+
tab_width = 4
15+
indent_style = tab
16+
indent_size = 4
17+
18+
# Markdown files
19+
[*.md]
20+
indent_style = space
21+
indent_size = 2
22+
max_line_length = 999
23+
trim_trailing_whitespace = false
24+
25+
# YAML files
26+
[*.yaml]
27+
[*.yml]
28+
indent_style = space
29+
indent_size = 2

0 commit comments

Comments
 (0)