Skip to content

Instantly share code, notes, and snippets.

@ankr
Last active December 3, 2020 12:50
Show Gist options
  • Save ankr/9484528 to your computer and use it in GitHub Desktop.
Save ankr/9484528 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,html}]
indent_style = space
indent_size = 2
[*.php]
indent_style = space
indent_size = 4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment