# top-most EditorConfig file
root = true

# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true

# Set default charset
[*.{json,yaml,yml,nix,ex,exs,heex,rs,gd,go,js,jsx,ts,tsx}]
charset = utf-8

[*.{json,yaml,yml,nix,ex,exs,heex,gd,js,jsx,ts,tsx}]
indent_style = space
indent_size = 2

# 4 space indentation
[*.{rs,go}]
indent_style = space
indent_size = 4

# Tab indentation (no size specified)
[Makefile]
indent_style = tab
