commit 11cd8b1882df68dc35946ea2e54a18f6bbc9e2db parent 01db60b24ad6756c34e781abf9a71adf54dfc29a Author: Jan Dankert <develop@jandankert.de> Date: Tue, 29 Oct 2019 21:47:26 +0100 New: This file is for unifying the coding style for different editors and IDEs. Diffstat:
.editorconfig | | | 27 | +++++++++++++++++++++++++++ |
1 file changed, 27 insertions(+), 0 deletions(-)
diff --git a/.editorconfig b/.editorconfig @@ -0,0 +1,27 @@ +; This file is for unifying the coding style for different editors and IDEs. +; More information at http://editorconfig.org + +root = true + +[*] +end_of_line = lf +insert_final_newline = false +charset = utf-8 +tab_width = 4 + +[*.php] +indent_style = tab +indent_size = 1 + +[*.xml] +indent_style = tab +indent_size = 1 + +[*.js] +indent_style = tab +indent_size = 1 + +; YAML must be indented by 2 spaces +[*.yml] +indent_style = space +indent_size = 2