Created
March 2, 2019 06:09
-
-
Save verdipratama/a41eac2c9f9f4ca0bb1c2fee758f082b to your computer and use it in GitHub Desktop.
My editorconfig setup
This file contains hidden or 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. Frontend. Default. Namics. | |
# @see: http://EditorConfig.org | |
# install a plugin to your editor: http://editorconfig.org/#download | |
# mark: not all plugins supports the same EditorConfig properties | |
# This is the top-most .editorconfig file (do not search in parent directories) | |
root = true | |
### All files | |
[*] | |
# Force charset utf-8 | |
charset = utf-8 | |
# Force Unix-style newlines with a newline ending every file & trim trailing whitespace | |
end_of_line = crlf | |
# Indentation | |
indent_style = tab | |
indent_size = 4 | |
insert_final_newline = true | |
trim_trailing_whitespace = true | |
### Frontend files | |
[*.{css,scss,less,js,json,ts,sass,php,html,hbs,mustache,phtml,html.twig}] | |
### Markdown | |
[*.md] | |
indent_style = space | |
indent_size = 4 | |
trim_trailing_whitespace = false | |
### YAML | |
[*.yml] | |
indent_style = space | |
indent_size = 2 | |
### Specific files | |
[{package,bower}.json] | |
indent_style = space | |
indent_size = 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment