Skip to content

Commit

Permalink
chore(config): 完善 eol 配置以支持 win 开发环境
Browse files Browse the repository at this point in the history
  • Loading branch information
CLDXiang committed Feb 9, 2021
1 parent 16e72bf commit d0bb377
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# .gitattributes
* text eol=lf
*.png binary
*.jpeg binary
*.ico binary
*.wav binary
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"css.lint.unknownAtRules": "ignore"
"css.lint.unknownAtRules": "ignore",
"files.eol": "\n"
}

0 comments on commit d0bb377

Please sign in to comment.