root = true

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

[*.{ts,tsx,js,jsx,mjs,cjs,svelte,css,scss,html,json,jsonc,json5,md,mdx,yaml,yml,toml}]
indent_size = 2

[*.{rs}]
indent_size = 4

[Makefile]
indent_style = tab
indent_size = 4

# Lockfiles and generated content: leave alone.
[{bun.lock,bun.lockb,package-lock.json,yarn.lock,Cargo.lock}]
indent_style = unset
indent_size = unset
trim_trailing_whitespace = false
insert_final_newline = unset
