Skip to content

Instantly share code, notes, and snippets.

@jesusgoku
Forked from ankr/.editorconfig
Created June 23, 2016 21:07
Show Gist options
  • Save jesusgoku/dac84f07d1595d29bc36f2a0d1a5f9a5 to your computer and use it in GitHub Desktop.
Save jesusgoku/dac84f07d1595d29bc36f2a0d1a5f9a5 to your computer and use it in GitHub Desktop.
Base editorconfig for new projects
# Base editorconfig for new projects
root = true
[*]
end_of_line = lf
indent_style = space
tab_width = 4
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.js]
indent_style = space
indent_size = 2
[*.html]
indent_style = space
indent_size = 4
[*.php]
indent_style = space
indent_size = 4
[*.md]
trim_trailing_whitespace = false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment