Skip to content

Instantly share code, notes, and snippets.

@mcattx
Last active September 19, 2017 09:47
Show Gist options
  • Save mcattx/56ba673db9ec54efcb98bec5ab5e30e6 to your computer and use it in GitHub Desktop.
Save mcattx/56ba673db9ec54efcb98bec5ab5e30e6 to your computer and use it in GitHub Desktop.
common editor config file
# EditorConfig is awesome: http://EditorConfig.org
# top-most EditorConfig file
root = true
# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true
# Matches multiple files with brace expansion notation
# Set default charset
[*]
charset = utf-8
# 4 space indentation
[.eslintrc]
indent_style = space
indent_size = 4
# Matches the exact files either package.json or .travis.yml
[{package.json,.travis.yml}]
indent_style = space
indent_size = 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment