Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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 presentation settings, like a tab's `indent_size`.
# v1.2
root = true
[*]
indent_style = tab
end_of_line = crlf
trim_trailing_whitespace = true
insert_final_newline = true
indent_size = 4
[*.{html,xml,config,json}]
indent_size = 2
[*.{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