Add editorconfig file to maintain consistent coding styles

This commit is contained in:
Mathieu Jaumotte 2021-03-25 11:17:34 +01:00
parent ccc9995613
commit ff5c1c1b5a

19
.editorconfig Normal file
View File

@ -0,0 +1,19 @@
; top-most EditorConfig file
root = true
; Unix-style newlines
[*]
charset = utf-8
end_of_line = LF
insert_final_newline = true
trim_trailing_whitespace = true
[*.{php,html,twig}]
indent_style = space
indent_size = 4
[*.md]
max_line_length = 80
[COMMIT_EDITMSG]
max_line_length = 0