Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@gonzalo123
Created November 2, 2020 15:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gonzalo123/76801fe49d909a92e3b18a0825b5201f to your computer and use it in GitHub Desktop.
Save gonzalo123/76801fe49d909a92e3b18a0825b5201f to your computer and use it in GitHub Desktop.
my .editorconfig
# see http://editorconfig.org
root = true
[*]
indent_style = space
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
max_line_length = off
[package.json]
indent_size = 2
[*.md]
trim_trailing_whitespace = false
[*.js]
indent_size = 2
ij_javascript_use_semicolon_after_statement = false
[*.vue]
indent_size = 2
ij_javascript_use_semicolon_after_statement = false
[*.html]
indent_size = 2
[*.xml]
indent_size = 2
# https://www.python.org/dev/peps/pep-0008/#code-lay-out
[*.py]
indent_size = 4
[*.{yaml,yml}]
indent_size = 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment