Skip to content

Instantly share code, notes, and snippets.

@rajinder-yadav
Created February 14, 2017 05:15
Show Gist options
  • Save rajinder-yadav/42c67bf33337a3634913dfca3e1d10c3 to your computer and use it in GitHub Desktop.
Save rajinder-yadav/42c67bf33337a3634913dfca3e1d10c3 to your computer and use it in GitHub Desktop.
My editorconfig config file
# EditorConfig is awesome: http://EditorConfig.org
# Configuration settings
# http://editorconfig.org/#file-format-details
# top-most EditorConfig file
root = true
indent_style = space
[*]
end_of_line = lf
insert_final_newline = true
# Scripts code
[*.{js,ts,html,json,jsx,md,sh,go,yml}]
indent_size = 2
tab_width = 2
charset = utf-8
trim_trailing_whitespace = true
# C-Family source code
[*.{c,cpp,cc,hpp,h}]
indent_size = 2
tab_width = 2
charset = utf-8
trim_trailing_whitespace = true
[Makefile]
indent_style = tab
# Limited editor support
max_line_length = 100
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment