-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.editorconfig
36 lines (28 loc) · 859 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
35
36
# Editorconfig is an effort to standardize configuration of editors.
# So that any editor can use ONE single configuration.
# And here is the result: https://xkcd.com/927/
# I don't use editorconfig. But this will be helpful
# If I'm working with people that don't even know what
# GNU Emacs is (People that uses IDEs and/or are inconsistently
# consistent in proper line indentations).
# See http://editorconfig.org for details
# This is the root main config. Don't go to parent dir
# and check for more config files.
root = true
# Rule for any file
[*]
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
# File specific settings
[*.{ui,xml,c,h,html,css,js}]
indent_style = space
indent_size = 2
[Makefile*]
indent_style = tab
indent_size = 4
[*.py]
indent_style = space
indent_size = 4
[*.{html,css,js,py}]
charset = utf-8