Skip to content

Instantly share code, notes, and snippets.

@gilbarbara
Created May 20, 2015 23:56
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gilbarbara/c328ff1b2b4e7affff39 to your computer and use it in GitHub Desktop.
Save gilbarbara/c328ff1b2b4e7affff39 to your computer and use it in GitHub Desktop.
basic .editorconfig fille
# EditorConfig helps developers define and maintain consistent
# coding styles between different editors and IDEs
# editorconfig.org
root = true
[*]
# change these settings to your own preference
indent_style = space
indent_size = 4
# we recommend you to keep these unchanged
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.md]
trim_trailing_whitespace = false
[{package,bower}.json]
indent_style = space
indent_size = 2
[{.eslintrc,.scss-lint.yml}]
indent_style = space
indent_size = 2
[*.{scss,sass}]
indent_style = space
indent_size = 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment