From d0bb377f19fa4c6c7a3f325331e4ed43e90cd87c Mon Sep 17 00:00:00 2001 From: CLDXiang Date: Tue, 9 Feb 2021 17:32:33 +0800 Subject: [PATCH] =?UTF-8?q?chore(config):=20=E5=AE=8C=E5=96=84=20eol=20?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E4=BB=A5=E6=94=AF=E6=8C=81=20win=20=E5=BC=80?= =?UTF-8?q?=E5=8F=91=E7=8E=AF=E5=A2=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitattributes | 6 ++++++ .vscode/settings.json | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..21690598 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,6 @@ +# .gitattributes +* text eol=lf +*.png binary +*.jpeg binary +*.ico binary +*.wav binary diff --git a/.vscode/settings.json b/.vscode/settings.json index 2ae62157..43667438 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -2,5 +2,6 @@ "editor.codeActionsOnSave": { "source.fixAll.eslint": true }, - "css.lint.unknownAtRules": "ignore" + "css.lint.unknownAtRules": "ignore", + "files.eol": "\n" }