update editorconfig

This commit is contained in:
2025-07-25 22:32:14 +03:00
parent 5df04b21df
commit c9016c364f
2 changed files with 52 additions and 93 deletions

View File

@@ -1,7 +1,7 @@
# EditorConfig is awesome: https://EditorConfig.org
root = true
# for all projects
# for all files
[*]
indent_style = space
indent_size = 4
@@ -10,62 +10,21 @@ charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
# Python
[*.py]
indent_style = space
indent_size = 4
# PHP
[*.php]
indent_style = space
indent_size = 4
# Crystal
[*.cr]
indent_style = space
indent_size = 2
# C
[{*.c,*.h}]
indent_style = space
indent_size = 4
# Web Sites
[{*.html,*.css,*.json}]
indent_style = tab
indent_size = 4
[humans.txt]
indent_style = tab
indent_size = 2
# Other
[Makefile]
indent_style = tab
indent_size = 4
# Markdown
[*.md]
trim_trailing_whitespace = false
[.gitconfig]
# Git
[{.gitconfig,.gitignore}]
indent_style = tab
indent_size = 4
# JavaScript
[*.js]
indent_style = space
indent_size = 2
[package.json]
indent_style = space
indent_size = 2
## for this repo
[~/SSH/config]
## ssh config
[*/SSH/{main,private}]
indent_style = tab
indent_size = 4
[~/SublimeText/*.sublime-*]
# Sublime Text
[*.sublime-*]
indent_style = tab
indent_size = 4