Skip to content

Instantly share code, notes, and snippets.

@YuerLee
Created April 17, 2016 10:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save YuerLee/7bae4a604ddcbbf087c62ea5ed01c4f0 to your computer and use it in GitHub Desktop.
Save YuerLee/7bae4a604ddcbbf087c62ea5ed01c4f0 to your computer and use it in GitHub Desktop.
EditorConfig File
# EditorConfig http://EditorConfig.org
# top-most EditorConfig file
root = true
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
[*.md]
indent_style = space
indent_size = 2
trim_trailing_whitespace = false
[*.js]
indent_style = space
indent_size = 2
quote_type = single
spaces_around_operators = true
[*.html]
indent_style = space
indent_size = 2
quote_type = double
[*.css]
indent_style = space
indent_size = 2
quote_type = double
[*.py]
indent_style = space
indent_size = 4
[*.java]
indent_style = space
indent_size = 4
spaces_around_operators = true
quote_type = double
[Makefile]
indent_style = tab
[*.json]
indent_style = space
indent_size = 2
quote_type = double
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment