config/.editorconfig

45 lines
614 B
INI
Raw Normal View History

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
2021-08-27 21:26:41 +03:00
# Crystal
2021-07-23 12:21:58 +03:00
[*.cr]
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-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