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:
parent
60ae815c09
commit
fdbde9eb87
1 changed files with 21 additions and 0 deletions
21
.editorconfig
Normal file
21
.editorconfig
Normal 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
|
Loading…
Reference in a new issue