# EditorConfig is supported by many editors and IDEs
# https://editorconfig.org/
# top-most EditorConfig file
root = true
# Default settings for all files
[*]
charset = utf-8
end_of_line = lf
indent_style = space
indent_size = 4
insert_final_newline = true
trim_trailing_whitespace = true
# YAML files
[*.{yml,yaml}]
indent_size = 2
# Markdown files
[*.md]
trim_trailing_whitespace = false
# JSON files
[*.json]
indent_size = 4
# Shell scripts
[*.{sh,bash}]
indent_size = 2
# Python specific settings
[*.py]
indent_size = 4
max_line_length = 88
# HTML, CSS, JavaScript
[*.{html,css,js,ts}]
indent_size = 2
# Config files that typically use 2 spaces
[{pyproject.toml}]
indent_size = 2
# Dockerfiles
[Dockerfile*]
indent_size = 4