-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.gitattributes
More file actions
35 lines (28 loc) · 1.28 KB
/
.gitattributes
File metadata and controls
35 lines (28 loc) · 1.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Exclude Bootstrap vendor files from language detection
packages/css/dist/* linguist-vendored=true
packages/css/package.json linguist-vendored=true
packages/css/postcss.config.mjs linguist-vendored=true
# Exclude all Bootstrap SCSS files (keep only custom Blazor ones)
packages/css/scss/_*.scss linguist-vendored=true
packages/css/scss/bootstrap.scss linguist-vendored=true
packages/css/scss/forms/* linguist-vendored=true
packages/css/scss/helpers/* linguist-vendored=true
packages/css/scss/mixins/* linguist-vendored=true
packages/css/scss/utilities/* linguist-vendored=true
packages/css/scss/vendor/* linguist-vendored=true
# Mark custom Blazor SCSS as part of the project (these are YOUR files)
packages/css/scss/blazor/* linguist-vendored=false
# Mark TypeScript as part of the project
packages/js/src/* linguist-vendored=false
# Exclude JS build artifacts
packages/js/dist/* linguist-vendored=true
packages/js/package.json linguist-vendored=true
packages/js/rollup.ts linguist-vendored=true
# Mark YAML as part of the project (localization files)
*.yaml linguist-vendored=false
*.yml linguist-vendored=false
# Mark HTML as part of the project (Blazor templates, index files)
*.html linguist-vendored=false
# Force C# detection for main languages
*.cs linguist-language=C#
*.razor linguist-language=C#