Skip to content

Instantly share code, notes, and snippets.

@joglomedia
Last active July 26, 2021 06:43
Show Gist options
  • Save joglomedia/f0efc508aabd0387b7808c929f3e64d2 to your computer and use it in GitHub Desktop.
Save joglomedia/f0efc508aabd0387b7808c929f3e64d2 to your computer and use it in GitHub Desktop.
Example of EditorConfig file for VSCode Editor
# EditorConfig helps developers define and maintain consistent
# coding styles between different editors and IDEs
# editorconfig.org
root = true
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 4
trim_trailing_whitespace = true
[*.{diff,md}]
trim_trailing_whitespace = false
[*.txt]
indent_style = tab
indent_size = 4
[*.{js,tf,ts,tsx,yaml,yml}]
indent_size = 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment