2022-06-11 02:29:15 +03:00
|
|
|
# EditorConfig is awesome: https://EditorConfig.org
|
2021-11-15 02:50:46 +03:00
|
|
|
root = true
|
|
|
|
|
2022-06-11 02:29:15 +03:00
|
|
|
# for all projects
|
2021-11-15 02:50:46 +03:00
|
|
|
[*]
|
2022-06-11 02:29:15 +03:00
|
|
|
indent_style = space
|
|
|
|
indent_size = 4
|
2021-11-15 02:50:46 +03:00
|
|
|
end_of_line = lf
|
|
|
|
charset = utf-8
|
|
|
|
trim_trailing_whitespace = true
|
|
|
|
insert_final_newline = true
|
|
|
|
|
2022-06-11 02:29:15 +03:00
|
|
|
# Python
|
|
|
|
[*.py]
|
|
|
|
indent_style = space
|
|
|
|
indent_size = 4
|
|
|
|
|
|
|
|
# PHP
|
2022-03-28 21:05:30 +03:00
|
|
|
[*.php]
|
|
|
|
indent_style = space
|
|
|
|
indent_size = 4
|
|
|
|
|
2022-06-11 02:29:15 +03:00
|
|
|
# Crystal
|
2022-09-24 21:49:30 +03:00
|
|
|
[{*.cr,shard.yml}]
|
2022-06-11 02:29:15 +03:00
|
|
|
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
|
|
|
|
|
2022-08-11 00:49:36 +03:00
|
|
|
# Markdown
|
|
|
|
[*.md]
|
|
|
|
trim_trailing_whitespace = false
|
|
|
|
|
2022-06-11 02:29:15 +03:00
|
|
|
# Other
|
|
|
|
[Makefile]
|
|
|
|
indent_style = tab
|
|
|
|
indent_size = 4
|
|
|
|
|
|
|
|
[.gitconfig]
|
2021-11-15 02:50:46 +03:00
|
|
|
indent_style = tab
|
|
|
|
indent_size = 4
|
|
|
|
|
2022-06-11 02:29:15 +03:00
|
|
|
# JavaScript
|
2021-11-15 02:50:46 +03:00
|
|
|
[*.js]
|
|
|
|
indent_style = space
|
|
|
|
indent_size = 2
|
2021-11-18 01:24:53 +03:00
|
|
|
|
2022-06-11 02:29:15 +03:00
|
|
|
[package.json]
|
|
|
|
indent_style = space
|
2021-11-18 01:24:53 +03:00
|
|
|
indent_size = 2
|
2022-06-11 02:29:15 +03:00
|
|
|
|
|
|
|
## for this repo
|
|
|
|
[~/SSH/config]
|
|
|
|
indent_style = tab
|
|
|
|
indent_size = 4
|
|
|
|
|
|
|
|
[~/SublimeText/*.sublime-*]
|
|
|
|
indent_style = tab
|
|
|
|
indent_size = 4
|