feat(editorconfig): add editorconfig and using php-cli from container

This commit is contained in:
2022-05-15 20:52:48 +08:00
parent a389a92a78
commit 39dd5b7a7b
4 changed files with 51 additions and 15 deletions

View File

@@ -0,0 +1,36 @@
# This file is for unifying the coding style for different editors and IDEs
# editorconfig.org
root = true
[*]
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
# Spaces in coffee
[**.coffee]
indent_style = space
indent_size = 2
[**.js]
indent_style = space
indent_size = 2
# Tabs in less
[**.less]
indent_style = tab
indent_size = 2
[**.css]
indent_style = tab
indent_size = 2
[**.php]
indent_style = space
indent_size = 4
[**.html]
indent_style = tab
indent_size = 2