Skip to content

Instantly share code, notes, and snippets.

@fighterleslie
Created December 29, 2015 20:20
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 fighterleslie/02bb26c1c23ca553ce1a to your computer and use it in GitHub Desktop.
Save fighterleslie/02bb26c1c23ca553ce1a to your computer and use it in GitHub Desktop.
editorconfig
# This is the top-most .editorconfig file
root = true
# Unix-style newlines
[*]
end_of_line = lf
# append a new line at the bottom of each file
insert_final_newline = true
# set default charset to utf-8
charset = utf-8
# set default indentation to 2 spaces
indent_style = space
indent_size = 2
# trim whitespace at the end of lines
trim_trailing_whitespace = true
# Don't trim whitespace for markdown file
[*.md]
trim_trailing_whitespace = false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment