# EditorConfig — 跨编辑器统一编码风格
# https://editorconfig.org

root = true

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

[*.rs]
indent_style = space
indent_size = 4

[*.{ts,tsx,js,jsx,json,css,html,md,yaml,yml}]
indent_style = space
indent_size = 2

[*.toml]
indent_style = space
indent_size = 4

[Makefile]
indent_style = tab
indent_size = 4

[*.{png,jpg,jpeg,gif,svg,ico,ttf,woff,woff2,eot}]
insert_final_newline = false
