Skip to content

Instantly share code, notes, and snippets.

@deiga
Created January 11, 2019 10:20
Show Gist options
  • Save deiga/9e3f26a997bd0bf5aea72a4a6ffcac78 to your computer and use it in GitHub Desktop.
Save deiga/9e3f26a997bd0bf5aea72a4a6ffcac78 to your computer and use it in GitHub Desktop.
Editorconfig-example
# EditorConfig is awesome: http://EditorConfig.org
# top-most EditorConfig file
root = true
# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true
# 2 space indentation
indent_style = space
indent_size = 2
# utf-8 and no trailing whitespaces
charset = utf-8
trim_trailing_whitespace = true
# might be needed
[*.md]
trim_trailing_whitespace = false
# 4 space indentation for python
[*.py]
indent_size = 4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment