Skip to content

Instantly share code, notes, and snippets.

@paranoidjk
Created December 1, 2016 13:23
Show Gist options
  • Save paranoidjk/13d98b6448cc9da7b268b64e4cb1fb02 to your computer and use it in GitHub Desktop.
Save paranoidjk/13d98b6448cc9da7b268b64e4cb1fb02 to your computer and use it in GitHub Desktop.
EditorConfig
# EditorConfig helps developers define and maintain
# consistent coding styles between different editors and IDEs.
# http://EditorConfig.org
# top-must EditorConfig file
root = true
# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true
# Matched multiple files with brace expansion notation
# set default charset
[*.{js,py}]
charset = utf-8
trim_trailing_whitespace = true
# 2 spacw indentation
indent_style = space
indent_size = 2
# Tab indentaton (no size specified)
[Makefile]
indent_style = tab
[*.md]
trim_trailing_whitespace = false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment