Skip to content

Instantly share code, notes, and snippets.

@syfun
Created January 30, 2018 10:24
Show Gist options
  • Save syfun/7524a562475ee99fcd2c5ea3201edae5 to your computer and use it in GitHub Desktop.
Save syfun/7524a562475ee99fcd2c5ea3201edae5 to your computer and use it in GitHub Desktop.
editorconfig-sample
# http://editorconfig.org
root = true
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
[*.{rst,ini}]
indent_style = space
indent_size = 4
[*.py]
indent_style = space
indent_size = 4
line_length = 100
known_first_party = FRMS
multi_line_output = 3
default_section = THIRDPARTY
# JavaScript, JSX, CSS, SCSS, HTML settings
[*.{js,jsx,css,scss,html}]
indent_style = space
indent_size = 2
[*.md]
trim_trailing_whitespace = false
[Makefile]
indent_style = tab
# Config files
[*.conf]
indent_style = space
indent_size = 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment