Created
April 29, 2015 22:01
-
-
Save samnydahl/c077b5ed6d5d81590a1f to your computer and use it in GitHub Desktop.
Sample editorconfig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Editor Config <editorconfig.org> | |
# ================================================= | |
root = true | |
# All files | |
[*] | |
indent_style = space | |
end_of_line = lf | |
charset = utf-8 | |
trim_trailing_whitespace = true | |
insert_final_newline = true | |
spaces_around_operators = true | |
# 4-spaced files | |
[{**.js, **.json, **.php, **.xml, **.yml, **.md, !vendor/**}] | |
indent_size = 4 | |
# 2-spaced files | |
[{**.css, **.less, **.sass, **.html, **.xhtml, **.blade.php, !vendor/**}] | |
indent_size = 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment