Skip to content

Instantly share code, notes, and snippets.

@inhere
Created January 1, 2019 05:44
Show Gist options
  • Save inhere/b83a7ab8db7f822ab2bbd54d4630dda0 to your computer and use it in GitHub Desktop.
Save inhere/b83a7ab8db7f822ab2bbd54d4630dda0 to your computer and use it in GitHub Desktop.
my simple .editorconfig
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