Skip to content

Instantly share code, notes, and snippets.

@ZeeDev
Created January 14, 2014 16:28
Show Gist options
  • Save ZeeDev/8421133 to your computer and use it in GitHub Desktop.
Save ZeeDev/8421133 to your computer and use it in GitHub Desktop.
.editorconfig
# EditorConfig is awesome: http://EditorConfig.org
# top-most EditorConfig file
root = true
# Unix-style newlines with a newline ending every file
[*]
indent_style = space
end_of_line = lf
charset = utf-8
insert_final_newline = true
# tab indentation
[*.{css,scss,twig}]
indent_style = tab
indent_size = 4
# 2 spaces indentation for JS
[*.js]
indent_size = 2
# 4 spaces indentation for PHP (PSR-2)
[*.{php,module,inc]
indent_size = 4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment