summaryrefslogtreecommitdiff
path: root/.editorconfig
blob: b0bee2172f2560b4e9aa768dab911b81bd03acbe (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
# This is an EditorConfig file
# Learn more at http://editorconfig.org

root = true

# All files are UNIX-style and UTF-8
[*]
end_of_line = lf
insert_final_newline = true
charset = utf-8
trim_trailing_whitespace = true

# Lua code should be space indented, to 3 spaces
[{*.lua,bin/*.in,testing/gitano-test-tool.in,utils/install-lua-bin,utils/merge-luacov-stats,.luacov}]
indent_style = space
indent_size = 3

# Yarns are markdown, so spaces, 4 space indent
[*.yarn]
indent_style = space
indent_size = 4

# Makefiles use tabs
[Makefile]
indent_style = tab

[*.patch]
trim_trailing_whitespace = false