Last active
February 26, 2018 20:34
-
-
Save dkarmalita/a0e69aafa5f0337e681d295b6915b5c5 to your computer and use it in GitHub Desktop.
Standard .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
# EditorConfig is awesome: http://EditorConfig.org | |
# top-most EditorConfig file | |
root = true | |
# Unix-style newlines with a newline ending every file | |
[*] | |
end_of_line = lf | |
charset = utf-8 | |
indent_style = space | |
indent_size = 2 | |
trim_trailing_whitespace = true | |
insert_final_newline = true | |
# Matches multiple files with brace expansion notation | |
# Set default charset | |
[*.{js,py}] | |
charset = utf-8 | |
# 4 space indentation | |
[*.py] | |
indent_style = space | |
indent_size = 4 | |
# Tab indentation (no size specified) | |
[Makefile] | |
indent_style = tab | |
# Indentation override for all JS and JSON files | |
[*.js, *.json] | |
indent_style = space | |
indent_size = 4 | |
[*.md] | |
trim_trailing_whitespace = false | |
# Matches the exact files either package.json or .travis.yml | |
[{package.json,.travis.yml}] | |
indent_style = space | |
indent_size = 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment