Skip to content

Instantly share code, notes, and snippets.

@erikfig
Created January 26, 2016 18:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save erikfig/d502e407cae312fb42c5 to your computer and use it in GitHub Desktop.
Save erikfig/d502e407cae312fb42c5 to your computer and use it in GitHub Desktop.
# editorconfig.org
root = true
[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
# PHP should follow the PSR-2 standard (https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md)
[*.php]
indent_size = 4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment