Skip to content

Instantly share code, notes, and snippets.

@curtmerrill
Created March 15, 2021 19:35
Show Gist options
  • Save curtmerrill/9cad1dc6ba67ea024658c3558eaa5d27 to your computer and use it in GitHub Desktop.
Save curtmerrill/9cad1dc6ba67ea024658c3558eaa5d27 to your computer and use it in GitHub Desktop.
Basic editorconfig settings
# editorconfig.org
root = true
[*]
charset = utf-8
end_of_line = lf
indent_size = 4
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
# Trailing spaces are meaningful in Markdown
[*.md]
trim_trailing_whitespace = false
# Ignore 3rd party JS files
[**/{lib,vendor}/**.js]
charset = ignore
end_of_line = ignore
indent_size = ignore
indent_style = ignore
trim_trailing_whitespace = ignore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment