chore(config): 完善 eol 配置以支持 win 开发环境

This commit is contained in:
CLDXiang 2021-02-09 17:32:33 +08:00
parent 16e72bf09b
commit d0bb377f19
2 changed files with 8 additions and 1 deletions

6
.gitattributes vendored Normal file
View File

@ -0,0 +1,6 @@
# .gitattributes
* text eol=lf
*.png binary
*.jpeg binary
*.ico binary
*.wav binary

View File

@ -2,5 +2,6 @@
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"css.lint.unknownAtRules": "ignore"
"css.lint.unknownAtRules": "ignore",
"files.eol": "\n"
}