snipplets.dev/.editorconfig

106 lines
1.4 KiB
INI
Raw Permalink Normal View History

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
# Ruby
[*.rb]
indent_style = space
indent_size = 2
2022-06-11 02:29:15 +03:00
# Crystal
2023-08-16 22:01:02 +03:00
[{*.cr,shards.yml}]
2022-06-11 02:29:15 +03:00
indent_style = space
indent_size = 2
# C
[{*.c,*.h}]
indent_style = space
2024-02-24 19:29:12 +03:00
indent_size = 2
2022-06-11 02:29:15 +03:00
2023-09-03 11:27:44 +03:00
# C++
[{*.cpp,*.ino,*.hpp}]
indent_style = space
2024-02-24 19:29:12 +03:00
indent_size = 2
2023-09-03 11:27:44 +03:00
2023-07-02 19:40:27 +03:00
# V
2023-07-29 20:59:39 +03:00
[{*.v,v.mod}]
2023-07-02 19:40:27 +03:00
indent_style = tab
indent_size = 4
2022-10-08 00:32:03 +03:00
# JavaScript
[*.js]
indent_style = space
indent_size = 2
[package.json]
indent_style = space
indent_size = 2
2022-06-11 02:29:15 +03:00
# 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
2023-01-09 01:41:08 +03:00
# GameMaker
[*.gml]
indent_style = tab
indent_size = 4
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
2023-06-03 23:49:12 +03:00
[code/Gambas/*]
2023-06-03 23:49:12 +03:00
indent_size = 2
[projects/Solar2D/**]
2023-06-03 23:49:12 +03:00
indent_style = unset
indent_size = unset
end_of_line = unset
charset = unset
trim_trailing_whitespace = unset
insert_final_newline = unset
[projects/CV/haarcascade_frontalface_default.xml]
indent_size = unset