-
-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy path.gitattributes
More file actions
51 lines (42 loc) · 3.42 KB
/
.gitattributes
File metadata and controls
51 lines (42 loc) · 3.42 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# ──────────────────────────────────────────────────────────────────────────────
# .gitattributes — GitHub Linguist overrides
# Goal: repo shows 100% Kotlin (only source .kt files count as language)
# ──────────────────────────────────────────────────────────────────────────────
# ── Gradle / build config (not source code) ───────────────────────────────────
*.gradle.kts linguist-language=Kotlin
gradlew linguist-vendored=true
gradlew.bat linguist-vendored=true
# ── Build output — generated, never count ─────────────────────────────────────
build/** linguist-generated=true
library/build/** linguist-generated=true
# ── Kotlin-compiled JS output ─────────────────────────────────────────────────
kotlin/** linguist-generated=true
kotlin-js-store/** linguist-vendored=true
build/js/** linguist-generated=true
# ── NPM / JS tooling ──────────────────────────────────────────────────────────
create-bundle.js linguist-vendored=true
build-and-bundle.sh linguist-documentation=true
*.json linguist-vendored=true
yarn.lock linguist-vendored=true
package-lock.json linguist-vendored=true
# ── Documentation site ────────────────────────────────────────────────────────
# linguist-vendored = excluded from language stats AND collapsed/hidden in GitHub file explorer
docs/** linguist-vendored=true
.pages/** linguist-vendored=true
# ── GitHub Actions scripts (Python helpers) ───────────────────────────────────
.github/scripts/** linguist-vendored=true
# ── Markdown docs ─────────────────────────────────────────────────────────────
*.md linguist-documentation=true
*.mdx linguist-documentation=true
# ── CocoaPods / iOS glue ──────────────────────────────────────────────────────
Podfile linguist-documentation=true
*.podspec linguist-documentation=true
# ── Line endings ──────────────────────────────────────────────────────────────
*.kt text eol=lf
*.kts text eol=lf
*.gradle text eol=lf
*.xml text eol=lf
*.json text eol=lf
*.md text eol=lf
*.sh text eol=lf
gradlew text eol=lf