Skip to content

Instantly share code, notes, and snippets.

@marcosgabarda
Created August 25, 2016 10:55
Show Gist options
  • Save marcosgabarda/5fa33937ea4d2c0b87f3f9f1f06ae41d to your computer and use it in GitHub Desktop.
Save marcosgabarda/5fa33937ea4d2c0b87f3f9f1f06ae41d to your computer and use it in GitHub Desktop.
My configuration for code editors
# http://editorconfig.org
root = true
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
[*.{py,rst,ini}]
indent_style = space
indent_size = 4
[*.py]
line_length=120
known_first_party=project_name
multi_line_output=3
default_section=THIRDPARTY
[*.{html,css,scss,json,yml,js}]
indent_style = space
indent_size = 2
[*.md]
trim_trailing_whitespace = false
[Makefile]
indent_style = tab
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment