root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 4
trim_trailing_whitespace = true

[*.md]
trim_trailing_whitespace = false

[*.yml]
indent_size = 2

[*.yaml]
indent_size = 2

[*.json]
indent_size = 2

[*.{js,mjs,cjs,ts}]
indent_size = 2

[Makefile]
indent_style = tab

[*.neon]
# PHPStan generates baseline files with tab indentation; editorconfig-aware
# editors would otherwise reformat them on save and produce noisy diffs.
indent_style = tab
