.editorconfig•1.11 kB
# EditorConfig is awesome: https://EditorConfig.org
# top-most EditorConfig file
root = true
# Unix-style newlines with a newline ending every file
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
# Python files
[*.py]
indent_style = space
indent_size = 4
max_line_length = 88
# TOML files (pyproject.toml, etc.)
[*.toml]
indent_style = space
indent_size = 2
# YAML files
[*.{yml,yaml}]
indent_style = space
indent_size = 2
# JSON files
[*.json]
indent_style = space
indent_size = 2
# Markdown files
[*.md]
indent_style = space
indent_size = 2
trim_trailing_whitespace = false
# Shell scripts
[*.{sh,bash}]
indent_style = space
indent_size = 2
# Batch/PowerShell scripts
[*.{bat,cmd,ps1}]
indent_style = space
indent_size = 2
end_of_line = crlf
# Godot files
[*.gd]
indent_style = tab
indent_size = 4
[*.{tscn,tres,godot}]
indent_style = space
indent_size = 2
# Makefiles
[Makefile]
indent_style = tab
# Configuration files
[*.{ini,cfg,conf}]
indent_style = space
indent_size = 2
# reStructuredText
[*.rst]
indent_style = space
indent_size = 3