Преглед изворни кода

chore(v7): .gitattributes 钉死 .js/.mjs 为 LF

Node 包源码跨平台统一 LF,避免 Windows 工作副本 CRLF 渗入仓库
(M0 提交时 .js 未被 .gitattributes 覆盖,本次补上)。

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
lingfengQAQ пре 15 часа
родитељ
комит
779854cf66
1 измењених фајлова са 2 додато и 0 уклоњено
  1. 2 0
      .gitattributes

+ 2 - 0
.gitattributes

@@ -1,6 +1,8 @@
 # Keep repository text files stable across Windows/macOS/Linux.
 *.md text eol=lf
 *.py text eol=lf
+*.js text eol=lf
+*.mjs text eol=lf
 *.json text eol=lf
 *.yml text eol=lf
 *.yaml text eol=lf