Skip to content

Instantly share code, notes, and snippets.

@jeckel jeckel/.editorconfig
Created Apr 11, 2019

Embed
What would you like to do?
My editor config file
# EditorConfig is a normalisation file compatible with different editors
# Find more documentation here : http://editorconfig.org/#download
# top-most EditorConfig file
root = true
[*]
end_of_line = lf
insert_final_newline = true
charset = utf-8
trim_trailing_whitespace = true
# Javascript
[*.{js,json,ts}]
indent_style = space
indent_size = 4
# Yaml
[*.yml]
indent_style = space
indent_size = 2
# SQL
[*.sql]
indent_style = space
indent_size = 2
# PHP
[*.php]
indent_style = space
indent_size = 4
[Makefile]
indent_style = tab
indent_size = 4
tab_width = 4
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.