Skip to content

Instantly share code, notes, and snippets.

@kyrcha kyrcha/.editorconfig
Created Apr 12, 2019

Embed
What would you like to do?
My editor config file for Visual Studio Code. Put it in the root of your project. Go to the preferences of VSC > Keyboard Shortcuts. Search for document format shorcut. Open a file. Use that shorcut and your document should be formatted.
# editorconfig.org
root = true
[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.md]
trim_trailing_whitespace = false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.