.editorconfig - example
# For more information about the properties used in | |
# this file, please see the EditorConfig documentation: | |
# http://editorconfig.org/ | |
# top-most EditorConfig file | |
root = true | |
# Unix-style newlines + UTF-8 encoding | |
[*] | |
charset=utf-8 | |
end_of_line=lf | |
insert_final_newline=false | |
indent_style=space | |
indent_size=2 | |
[{*.sht,*.html,*.shtm,*.shtml,*.ng,*.htm}] | |
indent_style=space | |
indent_size=2 | |
[{*.mod,*.dtd,*.ent,*.elt}] | |
indent_style=space | |
indent_size=2 | |
[{phpunit.xml.dist,*.jhm,*.rng,*.wsdl,*.fxml,*.xslt,*.jrxml,*.ant,*.xul,*.xsl,*.xsd,*.tld,*.jnlp,*.xml}] | |
indent_style=space | |
indent_size=2 | |
[{*.applejs,*.js}] | |
indent_style=space | |
indent_size=2 | |
[{*.module,*.hphp,*.phtml,*.php4,*.php2,*.php,*.inc}] | |
indent_style=space | |
indent_size=2 | |
[*.svg] | |
indent_style=space | |
indent_size=2 | |
[{*.css,*.less,*.scss,*.sass}] | |
indent_style=space | |
indent_size=2 | |
[{*.yml,*.yaml}] | |
indent_style=space | |
indent_size=2 | |
[*.neon] | |
indent_style=space | |
indent_size=2 | |
[{Makefile,**.mk}] | |
# Use tabs for indentation (Makefiles require tabs) | |
indent_style = tab | |
[*.md] | |
trim_trailing_whitespace = false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment