mirror of
https://github.com/Tencent/tdesign-vue-next-starter.git
synced 2024-12-22 00:46:34 +08:00
perf: 规范不同系统中的结束符 (#505)
* fix: eol * fix: 测试效果 * fix: 默认全部文件eol=lf * fix: 防止误判,仅对部分明确的文件设置 * fix: 新建文件eol格式错误进行互补 * Update settings.json
This commit is contained in:
parent
c89f434ce8
commit
4292bd2118
6
.gitattributes
vendored
Normal file
6
.gitattributes
vendored
Normal file
|
@ -0,0 +1,6 @@
|
|||
*.ts text eol=lf
|
||||
*.vue text eol=lf
|
||||
*.tsx text eol=lf
|
||||
*.jsx text eol=lf
|
||||
*.html text eol=lf
|
||||
*.json text eol=lf
|
2
.vscode/settings.json
vendored
2
.vscode/settings.json
vendored
|
@ -1,4 +1,6 @@
|
|||
{
|
||||
"files.eol":"\n",
|
||||
"editor.tabSize": 2,
|
||||
"eslint.format.enable": true,
|
||||
"eslint.validate": ["javascript", "javascriptreact", "typescript", "typescriptreact", "vue"],
|
||||
"[vue]": {
|
||||
|
|
Loading…
Reference in New Issue
Block a user