Skip to content

Instantly share code, notes, and snippets.

@vikbert
Created November 20, 2020 14:47
Show Gist options
  • Save vikbert/3eff4f0ea09046210cb33fd99cfb2db4 to your computer and use it in GitHub Desktop.
Save vikbert/3eff4f0ea09046210cb33fd99cfb2db4 to your computer and use it in GitHub Desktop.
editorconfig.md

php editorconfig

--------------------------------------

root = true

[*] trim_trailing_whitespace = true insert_final_newline = true end_of_line = lf charset = utf-8 tab_width = 4

[{.{awk,bat,c,cpp,d,h,l,re,skl,w32,y},Makefile}] indent_size = 4 indent_style = tab

[*.{dtd,html,inc,php,phpt,rng,wsdl,xml,xsd,xsl}] indent_size = 4 indent_style = space

[*.{ac,m4,sh,yml}] indent_size = 2 indent_style = space

[*.md] indent_style = space max_line_length = 80

[COMMIT_EDITMSG] indent_size = 4 indent_style = space max_line_length = 80

--------------------------------------

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment