瀏覽代碼

.gitattributes

andy 1 年之前
父節點
當前提交
03103145ff
共有 2 個文件被更改,包括 3 次插入0 次删除
  1. 2 0
      .gitattributes
  2. 1 0
      prettier.config.js

+ 2 - 0
.gitattributes

@@ -0,0 +1,2 @@
+* text=auto
+*.vue text eol=lf

+ 1 - 0
prettier.config.js

@@ -10,4 +10,5 @@ module.exports = {
   jsxBracketSameLine: false,
   arrowParens: 'avoid',
   htmlWhitespaceSensitivity: 'ignore',
+  endOfLine: 'lf',
 }