mirror of
https://github.com/cytopia/devilbox.git
synced 2024-12-27 00:11:04 +00:00
04e7c70b26
Using *nix' `lf` line endings instead of `crlf` in Windows batch files can lead to [unexpected results](https://stackoverflow.com/questions/232651/why-the-system-cannot-find-the-batch-label-specified-is-thrown-even-if-label-e).
97 lines
2.4 KiB
INI
97 lines
2.4 KiB
INI
# EditorConfig is awesome: https://EditorConfig.org
|
|
|
|
# -------------------------------------------------------------------------------------------------
|
|
# Default configuration
|
|
# -------------------------------------------------------------------------------------------------
|
|
# top-most EditorConfig file
|
|
root = true
|
|
|
|
# Default for all files
|
|
[*]
|
|
charset = utf-8
|
|
end_of_line = lf
|
|
insert_final_newline = true
|
|
trim_trailing_whitespace = true
|
|
|
|
# -------------------------------------------------------------------------------------------------
|
|
# Devilbox Intranet
|
|
# -------------------------------------------------------------------------------------------------
|
|
# Intranet CSS
|
|
[.devilbox/www/htdocs/assets/css/*.css]
|
|
indent_style = tab
|
|
indent_size = 4
|
|
|
|
# Intranet config
|
|
[.devilbox/www/config.php]
|
|
indent_style = tab
|
|
indent_size = 4
|
|
|
|
# Intranet libs
|
|
[.devilbox/www/include/lib/**.php]
|
|
indent_style = tab
|
|
indent_size = 4
|
|
|
|
# Intranet pages
|
|
[.devilbox/www/htdocs/*.php]
|
|
indent_style = tab
|
|
indent_size = 4
|
|
|
|
# -------------------------------------------------------------------------------------------------
|
|
# Devilbox Git Repository
|
|
# -------------------------------------------------------------------------------------------------
|
|
[.travis.yml]
|
|
indent_style = space
|
|
indent_size = 2
|
|
|
|
[.tests/**.{php,sh}]
|
|
indent_style = tab
|
|
indent_size = 4
|
|
|
|
[Makefile]
|
|
indent_style = tab
|
|
indent_size = 4
|
|
|
|
# -------------------------------------------------------------------------------------------------
|
|
# Devilbox Configuration and Scripts
|
|
# -------------------------------------------------------------------------------------------------
|
|
[{docker-compose.yml,docker-compose-override.yml,docker-compose-override.yml-example}]
|
|
indent_style = space
|
|
indent_size = 2
|
|
|
|
[compose/docker-compose.override.yml-*]
|
|
indent_style = space
|
|
indent_size = 2
|
|
|
|
[cfg/vhost-gen/*.yml-*]
|
|
indent_style = space
|
|
indent_size = 2
|
|
|
|
[{nginx.yml,apache22.yml,apache24.yml}]
|
|
indent_style = space
|
|
indent_size = 2
|
|
|
|
[{shell.sh,update-docker.sh}]
|
|
indent_style = tab
|
|
indent_size = 4
|
|
|
|
[shell.bat]
|
|
end_of_line = crlf
|
|
indent_style = tab
|
|
indent_size = 4
|
|
|
|
# -------------------------------------------------------------------------------------------------
|
|
# Devilbox Documentation
|
|
# -------------------------------------------------------------------------------------------------
|
|
[*.md]
|
|
indent_style = space
|
|
trim_trailing_whitespace = false
|
|
indent_size = 2
|
|
|
|
[docs/**.py]
|
|
indent_style = space
|
|
indent_size = 4
|
|
|
|
[docs/**.rst]
|
|
indent_style = space
|
|
indent_size = 4
|