Skip to content

Instantly share code, notes, and snippets.

@james2doyle
Created July 27, 2020 16:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save james2doyle/bfdd818de08b8cdabc3402261f58f9bd to your computer and use it in GitHub Desktop.
Save james2doyle/bfdd818de08b8cdabc3402261f58f9bd to your computer and use it in GitHub Desktop.
Basic editor config file that applies rules to all files the same way
# EditorConfig is awesome: https://EditorConfig.org
# Get the plugin: https://editorconfig.org/#download
# top-most EditorConfig file
root = true
# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 2
charset = utf-8
trim_trailing_whitespace = true
insert_trailing_newline = true
quote_type = single
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment