1111
This commit is contained in:
65
.editorconfig
Normal file
65
.editorconfig
Normal file
@@ -0,0 +1,65 @@
|
||||
root = true
|
||||
|
||||
# =============================================================================
|
||||
# Global settings
|
||||
# =============================================================================
|
||||
[*]
|
||||
charset = utf-8
|
||||
end_of_line = lf
|
||||
insert_final_newline = true
|
||||
trim_trailing_whitespace = true
|
||||
indent_style = space
|
||||
indent_size = 4
|
||||
tab_width = 4
|
||||
|
||||
# =============================================================================
|
||||
# Python
|
||||
# =============================================================================
|
||||
[*.py]
|
||||
max_line_length = 88
|
||||
|
||||
# =============================================================================
|
||||
# YAML (Docker, CI, compose)
|
||||
# =============================================================================
|
||||
[*.yml]
|
||||
indent_size = 2
|
||||
|
||||
[*.yaml]
|
||||
indent_size = 2
|
||||
|
||||
# =============================================================================
|
||||
# JSON
|
||||
# =============================================================================
|
||||
[*.json]
|
||||
indent_size = 2
|
||||
|
||||
# =============================================================================
|
||||
# TOML (pyproject.toml, poetry)
|
||||
# =============================================================================
|
||||
[*.toml]
|
||||
indent_size = 2
|
||||
|
||||
# =============================================================================
|
||||
# Markdown
|
||||
# =============================================================================
|
||||
[*.md]
|
||||
trim_trailing_whitespace = false
|
||||
indent_size = 2
|
||||
|
||||
# =============================================================================
|
||||
# Shell scripts
|
||||
# =============================================================================
|
||||
[*.sh]
|
||||
indent_size = 2
|
||||
|
||||
# =============================================================================
|
||||
# Makefile (tabs required)
|
||||
# =============================================================================
|
||||
[Makefile]
|
||||
indent_style = tab
|
||||
|
||||
# =============================================================================
|
||||
# INI / config files
|
||||
# =============================================================================
|
||||
[*.ini]
|
||||
indent_size = 2
|
||||
Reference in New Issue
Block a user