Skip to content

Instantly share code, notes, and snippets.

@thiamsantos
Last active March 1, 2018 12:50
Show Gist options
  • Save thiamsantos/2cb85da16ce25134433838ad8598c5d9 to your computer and use it in GitHub Desktop.
Save thiamsantos/2cb85da16ce25134433838ad8598c5d9 to your computer and use it in GitHub Desktop.
editorconfig
# This file is for unifying the coding style for different editors and IDEs
# editorconfig.org
root = true
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
[*.{php, py, java, html, mjml, ts, h, cpp, c, kt, elm}]
indent_style = space
indent_size = 4
[*.{js, json, yml, css, xml, rb, md, cr, ino, ex, exs}]
indent_style = space
indent_size = 2
[*.{go, sh}]
indent_style = tab
tab_width = 8
[*.md]
trim_trailing_whitespace = false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment