summaryrefslogtreecommitdiff
path: root/.editorconfig
blob: 7ca32f5819b1d03a942309707a656a135637e4dd (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
# 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
[{utils/install-lua-bin,utils/merge-luacov-stats,.luacov}]
indent_style = space
indent_size = 3
[*.{lua,lua.in}]
indent_style = space
indent_size = 3
[{bin,testing}/*.in]
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