Skip to content

Commit b954d8a

Browse files
Revert "chore: remove .editorconfig"
This reverts commit 43cdf63.
1 parent 64a9222 commit b954d8a

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

.editorconfig

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# EditorConfig is awesome: https://EditorConfig.org
2+
3+
# top-most EditorConfig file
4+
root = true
5+
6+
# Unix-style newlines and whitespace cleanup
7+
[*]
8+
end_of_line = lf
9+
insert_final_newline = true
10+
trim_trailing_whitespace = true
11+
insert_final_newline = true
12+
13+
# Protect whitespace in markdown files
14+
[*.md]
15+
trim_trailing_whitespace = false
16+
17+
# general formatting
18+
[*.{bash,go,sh,zsh,justfile,Makefile}]
19+
indent_style = tab
20+
indent_size = 4
21+
22+
# Set default charset
23+
[*.{html,xml,js,css,py}]
24+
charset = utf-8
25+
26+
# python
27+
[*.py]
28+
indent_style = space
29+
indent_size = 4
30+
31+
# webdev et al
32+
[*.{html,xml,js,css,json,jsonc,gql,lua,tf,tfvars,yml,yaml,Vagrantfile}]
33+
indent_style = space
34+
indent_size = 2

0 commit comments

Comments
 (0)