Skip to content

Instantly share code, notes, and snippets.

@deadlydog
Last active January 2, 2022 05:24
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 deadlydog/f83de31269f6f9982d26cfbd70bbf50f to your computer and use it in GitHub Desktop.
Save deadlydog/f83de31269f6f9982d26cfbd70bbf50f to your computer and use it in GitHub Desktop.
This .editorconfig file should live outside of the repository (and thus not be committed to source control) in a parent directory, as it includes personal preference settings like `indent_size`.
# This .editorconfig file should live outside of all repositories (and thus not be committed to source control) in
# a parent directory, as it includes personal preference settings, like a tab's `indent_size`.
# v1.3
root = true
[*]
charset = utf-8
end_of_line = crlf
indent_style = tab
insert_final_newline = true
trim_trailing_whitespace = true
indent_size = 4
[*.{html,xml,config,json}]
indent_size = 2
[*.{tf,md,psd1,pp,yml,yaml}]
indent_style = space
indent_size = 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment