# https://editorconfig.org

root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

[*.{go,odin,zig,c,h,cpp,hpp,cc,hh}]
indent_style = tab
indent_size = 8

[{Makefile,*.mk}]
indent_style = tab

[*.{yml,yaml}]
indent_style = space
indent_size = 2

[*.{json,jsonc}]
indent_style = space
indent_size = 2

[*.{md,mu}]
indent_style = space
indent_size = 2
trim_trailing_whitespace = false

[*.{py,dart}]
indent_style = space
indent_size = 2

[*.{sh,bash}]
indent_style = tab
indent_size = 8

[*.toml]
indent_style = space
indent_size = 2

[*.ini]
indent_style = space
indent_size = 4

[{SCAFFOLD,CONTRIBUTORS,LICENSE,NOTICE}]
indent_style = space
indent_size = 2
trim_trailing_whitespace = true
