Created
January 1, 2019 05:44
-
-
Save inhere/b83a7ab8db7f822ab2bbd54d4630dda0 to your computer and use it in GitHub Desktop.
my simple .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
root = true | |
# 对所有文件生效 | |
[*] | |
charset = utf-8 | |
indent_style = space | |
indent_size = 4 | |
end_of_line = lf | |
insert_final_newline = true | |
trim_trailing_whitespace = true | |
# 对后缀名为 md 的文件生效 | |
[*.md] | |
trim_trailing_whitespace = false | |
[*.js] | |
indent_size = 2 | |
[*.json] | |
indent_size = 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment