# EditorConfig is awesome: https://EditorConfig.org
# top-most EditorConfig file
root = true
# All files
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
# JavaScript, JSON, HTML, CSS files
[*.{js,json,html,css}]
indent_style = space
indent_size = 2
# Markdown files
[*.md]
indent_style = space
indent_size = 2
trim_trailing_whitespace = false
# Package.json and similar
[package*.json]
indent_style = space
indent_size = 2
# Configuration files
[*.{yml,yaml}]
indent_style = space
indent_size = 2
# Shell scripts
[*.{sh,bash}]
indent_style = space
indent_size = 2
# Batch files (Windows)
[*.{bat,cmd}]
end_of_line = crlf
# Makefiles
[Makefile]
indent_style = tab
# Docker files
[Dockerfile*]
indent_style = space
indent_size = 2
# Git files
[.gitignore]
indent_style = space
indent_size = 2