Add .gitattributes and .editorconfig for LF line endings (#179)
* Add .gitattributes forcing LF line endings * Add .editorconfig from Babel
This commit is contained in:
parent
0bbe1e1eec
commit
394c9543c9
11
.editorconfig
Normal file
11
.editorconfig
Normal file
@ -0,0 +1,11 @@
|
||||
root = true
|
||||
|
||||
[*]
|
||||
insert_final_newline = true
|
||||
charset = utf-8
|
||||
trim_trailing_whitespace = true
|
||||
end_of_line = lf
|
||||
|
||||
[*.{js,json}]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
1
.gitattributes
vendored
Normal file
1
.gitattributes
vendored
Normal file
@ -0,0 +1 @@
|
||||
* text=lf
|
||||
Loading…
x
Reference in New Issue
Block a user