1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-11 17:24:46 +02:00

create .editorconfig in wire directory

This is very helpful for contributors who uses different editor settings, for example indentation with spaces, not tabs. Most of all common editor programms or IDEs nowadays support to preserve the defined coding style rules automatically. Read more here: http://editorconfig.org
This commit is contained in:
horst
2017-04-23 12:00:33 +02:00
committed by GitHub
parent 188d0e150d
commit 3337aff4d5

31
wire/.editorconfig Normal file
View File

@@ -0,0 +1,31 @@
; This file is for unifying the coding style for different editors and IDEs.
; More information at http://editorconfig.org
root = true
[*]
charset = utf-8
end_of_line = lf
[*.{php,inc,module}]
tab_width = 4
indent_style = tab
trim_trailing_whitespace = false
insert_final_newline = true
[*.js]
tab_width = 4
indent_style = tab
trim_trailing_whitespace = true
insert_final_newline = true
[*.{css,less,scss}]
tab_width = 2
indent_style = tab
trim_trailing_whitespace = true
insert_final_newline = true