0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-16 21:56:25 -05:00

add .editorconfig to fix indentation issues

This commit is contained in:
Alex Kocharin 2014-08-13 10:23:17 +04:00
parent 60ae815c09
commit fdbde9eb87

21
.editorconfig Normal file
View file

@ -0,0 +1,21 @@
# top-most EditorConfig file
root = true
# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true
# Tab indentation (no size specified)
[*.js]
indent_style = tab
# 2 space indentation
[{.,}*.y{a,}ml]
indent_style = space
indent_size = 2
# Indentation override for Gruntfile
[Gruntfile.js]
indent_style = space
indent_size = 4