aboutsummaryrefslogtreecommitdiff
path: root/.editorconfig
blob: 17ed3c197a72458bc6393bb6d9564c35608a7e59 (plain)
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
37
38
39
40
# http://editorconfig.org
# Consistent coding style across different editors.

# Top-most file
root = true

# Global styles:
#   - indent 2 spaces
#   - add final new line
#   - trim trailing whitespace
[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true

# BUILD:
#   - indent 4 spaces
[BUILD]
indent_size = 4

# Makefile:
#   - indent 1 tab
[Makefile]
indent_size = tab
indent_style = tab

# Markdown:
#   - indent 4 spaces
#   - trailing whitespace is significant
[*.md]
indent_size = 4
trim_trailing_whitespace = false

# Python
#   - indent 4 spaces
[*.py]
indent_size = 4