# This file is the root
root = true

# ===================================
# All files
# ===================================
[*]
charset = utf-8
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = space

# ===================================
# C#
# ===================================
[*.cs]
indent_size = 4
max_line_length = 120
end_of_line = lf

# ===================================
# JSON файлы
# ===================================
[*.json]
indent_size = 2

# ===================================
# UXML/USS
# ===================================
[*.{uxml,uss}]
indent_size = 2

# ===================================
# XML файлы
# ===================================
[*.xml]
indent_size = 2

# ===================================
# Shader файлы
# ===================================
[*.{shader,cginc,hlsl,compute}]
indent_size = 4

# ===================================
# Markdown
# ===================================
[*.md]
trim_trailing_whitespace = false
max_line_length = off

# ===================================
# YAML
# ===================================
[*.{yml,yaml}]
indent_size = 2
