chore(git): update gitattribute config (#7128)

* chore: 更新 header 配置

* chore: 更新语言统计配置

* chore: 增加 attribute 配置文件

* chore: bump version 10.0.1
This commit is contained in:
Argo Zhang
2025-11-16 11:05:08 +08:00
committed by GitHub
parent 5d3d9809d8
commit 56554f729a
3 changed files with 5 additions and 3 deletions

View File

@@ -18,5 +18,6 @@ indent_size = 2
[*.sh]
end_of_line = lf
[*.cs]
# Add file header
file_header_template = Licensed to the .NET Foundation under one or more agreements.\nThe .NET Foundation licenses this file to you under the Apache 2.0 License\nSee the LICENSE file in the project root for more information.\nMaintainer: Argo Zhang(argo@live.ca) Website: https://www.blazor.zone

6
.gitattributes vendored
View File

@@ -5,9 +5,9 @@
*.razor linguist-language=C#
*.cs linguist-detectable=true
*.js linguist-detectable=false
*.html linguist-detectable=false
*.scss linguist-detectable=false
*.js linguist-detectable=true
*.html linguist-detectable=true
*.scss linguist-detectable=C#
###############################################################################
# Set default behavior for command prompt diff.

View File

@@ -8,6 +8,7 @@
</Folder>
<Folder Name="/configuration/">
<File Path=".editorconfig" />
<File Path=".gitattributes" />
<File Path=".gitignore" />
<File Path="exclusion.dic" />
</Folder>