-
-
Notifications
You must be signed in to change notification settings - Fork 45
/
.editorconfig
34 lines (27 loc) · 650 Bytes
/
.editorconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# EditorConfig is awesome: https://EditorConfig.org
# top-most EditorConfig file
root = true
# Unix-style newlines and whitespace cleanup
[*]
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
insert_final_newline = true
# Protect whitespace in markdown files
[*.md]
trim_trailing_whitespace = false
# general formatting
[*.{bash,go,sh,zsh,justfile,Makefile}]
indent_style = tab
indent_size = 4
# Set default charset
[*.{html,xml,js,css,py}]
charset = utf-8
# python
[*.py]
indent_style = space
indent_size = 4
# webdev et al
[*.{html,xml,js,css,json,gql,lua,tf,tfvars,yml,yaml}]
indent_style = space
indent_size = 2