Skip to content

Instantly share code, notes, and snippets.

@xHikaruMx
Last active June 3, 2020 19:50
Show Gist options
  • Select an option

  • Save xHikaruMx/a1eadcd8a45458d056e1ba0d36e599c6 to your computer and use it in GitHub Desktop.

Select an option

Save xHikaruMx/a1eadcd8a45458d056e1ba0d36e599c6 to your computer and use it in GitHub Desktop.
# EditorConfig helps developers define and maintain consistent
# coding styles between different editors and IDEs
# editorconfig.org
root = true
# --- Default ---
[*]
# Change these settings to your own preference
indent_style = space
indent_size = 4
# We recommend you to keep these unchanged
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
[*.md]
trim_trailing_whitespace = false
# --- End default ---
[*.{js,jsx,ts,tsx,vue,css,scss}]
indent_size = 2
# JSON, YAML and configuration files
[{.*rc,*.{json,yml}}]
indent_size = 2
# VSCode
[*.code-workspace]
indent_size = 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment