Skip to content

Instantly share code, notes, and snippets.

@regisbsb
Forked from bapti/.editorconfig
Last active November 25, 2015 16:02
Show Gist options
  • Save regisbsb/a288da2d01586362a976 to your computer and use it in GitHub Desktop.
Save regisbsb/a288da2d01586362a976 to your computer and use it in GitHub Desktop.
# EditorConfig is awesome: http://EditorConfig.org
# top-most EditorConfig file
root = true
# Unix-style newlines with a newline ending every file
[*]
end_of_line = crlf
insert_final_newline = true
# ***************** Server Side Languages ***************** #
[*.cs]
indent_style = space
indent_size = 4
[*.cshtml]
indent_style = space
indent_size = 2
[*.asax]
indent_style = space
indent_size = 4
[*.xaml]
indent_style = space
indent_size = 4
[*.xml]
indent_style = space
indent_size = 2
[*.config]
indent_style = space
indent_size = 2
[*.ps1]
indent_style = space
indent_size = 4
# ***************** Front End / Client Side Languages ***************** #
# Tab indentation (no size specified)
[*.js]
indent_style = space
indent_size = 2
[*.html]
indent_style = space
indent_size = 2
[*.json]
indent_style = space
indent_size = 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment