Skip to content

Instantly share code, notes, and snippets.

@dvnguyen
Created June 14, 2015 16:58
Show Gist options
  • Save dvnguyen/686760df3f0d85b5d713 to your computer and use it in GitHub Desktop.
Save dvnguyen/686760df3f0d85b5d713 to your computer and use it in GitHub Desktop.
EditorConfig file for web projects
# For more information about the properties used in
# this file, please see the EditorConfig documentation:
# http://editorconfig.org/
root = true
[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
[*.md]
trim_trailing_whitespace = false
[{.travis.yml,package.json}]
# The indent size used in the `package.json` file cannot be changed
# https://github.com/npm/npm/pull/3180#issuecomment-16336516
indent_size = 2
indent_style = space
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment