Merge pull request #485 from cytopia/editorconfig

Editorconfig
This commit is contained in:
cytopia 2019-01-28 01:11:14 +01:00 committed by GitHub
commit 33600fe1ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 94 additions and 3 deletions

0
.devilbox/www/include/vendor/Mail/mimeDecode.php vendored Executable file → Normal file
View File

91
.editorconfig Normal file
View File

@ -0,0 +1,91 @@
# 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.bat,shell.sh,update-docker.sh}]
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

View File

@ -81,7 +81,7 @@ simplify your every-day life. If you ever run into any unforseen issues, feel fr
<tr>
<td>
<a target="_blank" href="https://devilbox.readthedocs.io">
<img title="Documentation" name="Documentation" src="https://raw.githubusercontent.com/cytopia/icons/master/400x400/readthedocs.png" />
<img title="Documentation" name="Documentation" src="https://raw.githubusercontent.com/cytopia/icons/master/400x400/readthedocs.png" />
</a>
</td>
<td>
@ -91,8 +91,8 @@ simplify your every-day life. If you ever run into any unforseen issues, feel fr
</td>
<td>
<a target="_blank" href="https://devilbox.discourse.group">
<img title="Devilbox Forums" name="Forum" src="https://raw.githubusercontent.com/cytopia/icons/master/400x400/discourse.png" />
</a>
<img title="Devilbox Forums" name="Forum" src="https://raw.githubusercontent.com/cytopia/icons/master/400x400/discourse.png" />
</a>
</td>
</tr>
<tr>

0
shell.bat Normal file → Executable file
View File