Skip to content

Instantly share code, notes, and snippets.

@mbaltrusitis
Last active November 9, 2018 15:28
Show Gist options
  • Save mbaltrusitis/006a7dc5e5b5ec4add2d1ee85e976758 to your computer and use it in GitHub Desktop.
Save mbaltrusitis/006a7dc5e5b5ec4add2d1ee85e976758 to your computer and use it in GitHub Desktop.
narrativ editorconfig example
# EditorConfig helps developers define and maintain consistent coding styles
# between different editors and IDEs. See more and available editor plugins at:
# https://editorconfig.org/#download
#
# Below are some defaults for Narrativ developers, with required values are
# marked as such. Everything else is may be updated to your personal
# preference.
# remove // set to false if project-specific
root = true
[*]
# required begin
indent_style = tab
insert_final_newline = false
# required end
indent_size = 4
[*.html]
indent_size = 2
[*.js]
charset = utf-8
# required
insert_final_newline = true
[*.py]
charset = utf-8
# required given GVR is annoying
indent_style = space
insert_final_newline = true
[*.{yaml,yml}]
# required given YAML is annoying
indent_style = space
indent_size = 2
@myfashionhub
Copy link

This is a good one

trim_trailing_whitespace = true

@mbaltrusitis
Copy link
Author

mbaltrusitis commented Nov 8, 2018

@myfashionhub Ahh...let's do that in addition to the ...newline = false.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment