2021-07-23 12:21:58 +03:00
|
|
|
# EditorConfig is awesome: https://EditorConfig.org
|
|
|
|
root = true
|
|
|
|
|
2021-08-27 21:26:41 +03:00
|
|
|
# for all projects
|
2021-07-23 12:21:58 +03:00
|
|
|
[*]
|
|
|
|
indent_style = space
|
|
|
|
indent_size = 4
|
|
|
|
end_of_line = lf
|
|
|
|
charset = utf-8
|
|
|
|
trim_trailing_whitespace = true
|
|
|
|
insert_final_newline = true
|
|
|
|
|
2021-08-27 21:26:41 +03:00
|
|
|
# Python
|
2021-07-23 12:21:58 +03:00
|
|
|
[*.py]
|
|
|
|
indent_style = space
|
|
|
|
indent_size = 4
|
|
|
|
|
2022-03-28 21:04:50 +03:00
|
|
|
# PHP
|
|
|
|
[*.php]
|
|
|
|
indent_style = space
|
|
|
|
indent_size = 4
|
|
|
|
|
2021-08-27 21:26:41 +03:00
|
|
|
# Crystal
|
2021-07-23 12:21:58 +03:00
|
|
|
[*.cr]
|
|
|
|
indent_style = space
|
|
|
|
indent_size = 2
|
|
|
|
|
2022-04-07 22:35:37 +03:00
|
|
|
# C
|
|
|
|
[{*.c,*.h}]
|
|
|
|
indent_style = space
|
|
|
|
indent_size = 2
|
|
|
|
|
2021-08-27 21:26:41 +03:00
|
|
|
# Web Sites
|
2021-08-09 22:05:35 +03:00
|
|
|
[{*.html,*.css,*.json}]
|
2021-07-23 12:21:58 +03:00
|
|
|
indent_style = tab
|
|
|
|
indent_size = 4
|
|
|
|
|
2021-08-27 21:26:41 +03:00
|
|
|
[humans.txt]
|
|
|
|
indent_style = tab
|
|
|
|
indent_size = 2
|
|
|
|
|
|
|
|
# Other
|
2021-07-23 12:21:58 +03:00
|
|
|
[Makefile]
|
|
|
|
indent_style = tab
|
2021-08-09 22:28:11 +03:00
|
|
|
indent_size = 4
|
2021-07-23 12:21:58 +03:00
|
|
|
|
2021-08-29 12:59:18 +03:00
|
|
|
[.gitconfig]
|
|
|
|
indent_style = tab
|
|
|
|
indent_size = 4
|
|
|
|
|
2021-08-27 21:26:41 +03:00
|
|
|
# JavaScript
|
|
|
|
[*.js]
|
|
|
|
indent_style = space
|
|
|
|
indent_size = 2
|
|
|
|
|
2021-08-09 22:28:11 +03:00
|
|
|
[package.json]
|
2021-07-23 12:21:58 +03:00
|
|
|
indent_style = space
|
|
|
|
indent_size = 2
|
2022-03-27 11:09:33 +03:00
|
|
|
|
|
|
|
## for this repo
|
|
|
|
[~/SSH/config]
|
|
|
|
indent_style = tab
|
|
|
|
indent_size = 4
|
|
|
|
|
|
|
|
[~/SublimeText/*.sublime-*]
|
|
|
|
indent_style = tab
|
|
|
|
indent_size = 4
|