mirror of
https://github.com/VirtualHotBar/NetMount.git
synced 2026-06-03 09:53:59 +08:00
- 统一缩进为2个空格 - 移除多余的空行和尾随空格 - 统一字符串引号为单引号 - 统一对象和数组的尾随逗号 - 修复接口和类型定义格式 - 添加.gitattributes文件规范行尾 - 优化代码结构提高可读性
42 lines
729 B
Plaintext
42 lines
729 B
Plaintext
# Auto detect text files and perform LF normalization
|
|
* text=auto
|
|
|
|
# Explicitly declare source files to use LF line endings
|
|
*.ts text eol=lf
|
|
*.tsx text eol=lf
|
|
*.js text eol=lf
|
|
*.jsx text eol=lf
|
|
*.json text eol=lf
|
|
*.css text eol=lf
|
|
*.scss text eol=lf
|
|
*.less text eol=lf
|
|
*.md text eol=lf
|
|
*.html text eol=lf
|
|
*.xml text eol=lf
|
|
*.yaml text eol=lf
|
|
*.yml text eol=lf
|
|
|
|
# Shell scripts should use LF
|
|
*.sh text eol=lf
|
|
|
|
# Windows batch files should use CRLF
|
|
*.bat text eol=crlf
|
|
*.cmd text eol=crlf
|
|
|
|
# Build artifacts and binaries should not be normalized
|
|
*.exe -text
|
|
*.dll -text
|
|
*.so -text
|
|
*.dylib -text
|
|
*.pdf -text
|
|
*.png -text
|
|
*.jpg -text
|
|
*.jpeg -text
|
|
*.gif -text
|
|
*.ico -text
|
|
*.svg -text
|
|
*.woff -text
|
|
*.woff2 -text
|
|
*.ttf -text
|
|
*.eot -text
|