Skip to content

Instantly share code, notes, and snippets.

@ashblue
Created November 17, 2015 00:38
Show Gist options
  • Save ashblue/dee3f6ca95ea23408e73 to your computer and use it in GitHub Desktop.
Save ashblue/dee3f6ca95ea23408e73 to your computer and use it in GitHub Desktop.
Proposed .editorconfig
# EditorConfig helps developers define and maintain consistent
# coding styles between different editors and IDEs
# editorconfig.org
# @NOTE You can add specific files to the .editorconfig, see https://github.com/angular/angular.js/blob/master/.editorconfig
# Ex. [htmlparser.js]
# My properties
root = true
[*]
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
indent_style = space
indent_size = 4
[*.js]
indent_style = space
indent_size = 4
[*.css]
indent_style = space
indent_size = 4
[*.less]
indent_style = space
indent_size = 4
[*.html]
indent_style = space
indent_size = 4
[*.{diff,md}]
trim_trailing_whitespace = false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment