snipplets.dev/.editorconfig
2022-06-11 02:29:15 +03:00

68 lines
901 B
INI

# EditorConfig is awesome: https://EditorConfig.org
root = true
# for all projects
[*]
indent_style = space
indent_size = 4
end_of_line = lf
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
[.gitconfig]
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]
indent_style = tab
indent_size = 4
[~/SublimeText/*.sublime-*]
indent_style = tab
indent_size = 4