Skip to content

Commit

Permalink
chore: unify line endings for all files for any new clone (#2541)
Browse files Browse the repository at this point in the history
* set "* text=auto" in .gitattributes to unify line endings

* force to use LF in .editorconfig
  • Loading branch information
ShuiRuTian authored Mar 30, 2023
1 parent 050e4fb commit ea689d4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
root = true

[*]
end_of_line = lf

[*.{js,ts}]
indent_style = tab
indent_size = 2
Expand Down
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
benchcases/** linguist-detectable=false
fixtures/** linguist-detectable=false
webpack-test/** linguist-detectable=false
* text=auto

0 comments on commit ea689d4

Please sign in to comment.