1# https://editorconfig.org/ 2 3root = true 4 5[*] 6trim_trailing_whitespace = true 7insert_final_newline = true 8end_of_line = lf 9charset = utf-8 10tab_width = 4 11 12[{*.{awk,bat,c,cpp,d,h,l,re,skl,w32,y},Makefile*}] 13indent_size = 4 14indent_style = tab 15 16[*.{dtd,html,inc,php,phpt,rng,wsdl,xml,xsd,xsl}] 17indent_size = 4 18indent_style = space 19 20[*.{ac,m4,sh,yml}] 21indent_size = 2 22indent_style = space 23 24[*.md] 25indent_style = space 26max_line_length = 80 27 28[COMMIT_EDITMSG] 29indent_size = 4 30indent_style = space 31max_line_length = 80 32 33[*.patch] 34trim_trailing_whitespace = false 35