# EditorConfig helps maintain consistent coding styles across different editors
# https://editorconfig.org
root = true
# Default settings for all files
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = space
indent_size = 2
# TypeScript and JavaScript
[*.{ts,tsx,js,jsx,mjs,cjs}]
indent_size = 2
max_line_length = 100
# JSON
[*.json]
indent_size = 2
# YAML
[*.{yml,yaml}]
indent_size = 2
# Markdown
[*.md]
trim_trailing_whitespace = false
max_line_length = off
# SQL
[*.sql]
indent_size = 4
# Shell scripts
[*.sh]
indent_size = 2
end_of_line = lf
# Makefiles
[Makefile]
indent_style = tab
# Docker
[Dockerfile]
indent_size = 2
[docker-compose.yml]
indent_size = 2
# Configuration files
[*.{toml,ini,conf}]
indent_size = 2