|
1 | | -# Fogbinder Language Classification for GitHub Linguist |
2 | | -# RSR Rhodium Standard Repository - ReScript + WASM + Deno |
3 | | - |
4 | | -# ⛔ NO TYPESCRIPT - Exclude ALL .ts/.tsx files (including git history) |
5 | | -# RSR Rhodium R13 mandates ZERO TypeScript in codebase |
6 | | -*.ts linguist-vendored=true |
7 | | -*.tsx linguist-vendored=true |
8 | | - |
9 | | -# ReScript files (primary language) |
10 | | -*.res linguist-language=ReScript |
11 | | -*.resi linguist-language=ReScript |
12 | | - |
13 | | -# ReScript generated JavaScript files (exclude from stats) |
14 | | -*.bs.js linguist-generated=true |
15 | | - |
16 | | -# TLA+ formal verification specs |
17 | | -*.tla linguist-language=TLA |
18 | | - |
19 | | -# Rust WASM modules |
20 | | -*.rs linguist-language=Rust |
21 | | - |
22 | | -# Deno configuration |
23 | | -deno.json linguist-language=JSON |
24 | | -deno.jsonc linguist-language=JSONC |
25 | | - |
26 | | -# ReScript configuration |
27 | | -bsconfig.json linguist-language=JSON |
28 | | - |
29 | | -# Nickel configuration language |
30 | | -*.ncl linguist-language=Nickel |
31 | | - |
32 | | -# Justfile build system |
33 | | -justfile linguist-language=Just |
34 | | - |
35 | | -# AsciiDoc documentation |
36 | | -*.adoc linguist-documentation=true linguist-language=AsciiDoc |
37 | | - |
38 | | -# Markdown (exceptions only) |
39 | | -*.md linguist-documentation=true |
40 | | - |
41 | | -# Exclude from language stats |
42 | | -.github/workflows/*.yml linguist-vendored=true |
43 | | -docs/* linguist-documentation=true |
44 | | -examples/* linguist-documentation=true |
45 | | -benchmarks/* linguist-vendored=true |
46 | | -scripts/* linguist-vendored=true |
47 | | - |
48 | | -# Git LFS (for large assets if needed) |
49 | | -*.wasm filter=lfs diff=lfs merge=lfs -text |
50 | | - |
51 | | -# Line endings |
52 | | -* text=auto |
53 | | -*.res text eol=lf |
54 | | -*.resi text eol=lf |
55 | | -*.rs text eol=lf |
56 | | -*.js text eol=lf |
57 | | -*.json text eol=lf |
58 | | -*.adoc text eol=lf |
59 | | -*.md text eol=lf |
60 | | -*.sh text eol=lf |
61 | | -*.yml text eol=lf |
62 | | -*.tla text eol=lf |
| 1 | +# SPDX-License-Identifier: AGPL-3.0-or-later |
| 2 | +# RSR-compliant .gitattributes |
| 3 | + |
| 4 | +* text=auto eol=lf |
| 5 | + |
| 6 | +# Source |
| 7 | +*.rs text eol=lf diff=rust |
| 8 | +*.ex text eol=lf diff=elixir |
| 9 | +*.exs text eol=lf diff=elixir |
| 10 | +*.jl text eol=lf |
| 11 | +*.res text eol=lf |
| 12 | +*.resi text eol=lf |
| 13 | +*.ada text eol=lf diff=ada |
| 14 | +*.adb text eol=lf diff=ada |
| 15 | +*.ads text eol=lf diff=ada |
| 16 | +*.hs text eol=lf |
| 17 | +*.chpl text eol=lf |
| 18 | +*.scm text eol=lf |
| 19 | +*.ncl text eol=lf |
| 20 | +*.nix text eol=lf |
| 21 | + |
| 22 | +# Docs |
| 23 | +*.md text eol=lf diff=markdown |
| 24 | +*.adoc text eol=lf |
| 25 | +*.txt text eol=lf |
| 26 | + |
| 27 | +# Data |
| 28 | +*.json text eol=lf |
| 29 | +*.yaml text eol=lf |
| 30 | +*.yml text eol=lf |
| 31 | +*.toml text eol=lf |
| 32 | + |
| 33 | +# Config |
| 34 | +.gitignore text eol=lf |
| 35 | +.gitattributes text eol=lf |
| 36 | +justfile text eol=lf |
| 37 | +Makefile text eol=lf |
| 38 | +Containerfile text eol=lf |
| 39 | + |
| 40 | +# Scripts |
| 41 | +*.sh text eol=lf |
| 42 | + |
| 43 | +# Binary |
| 44 | +*.png binary |
| 45 | +*.jpg binary |
| 46 | +*.gif binary |
| 47 | +*.pdf binary |
| 48 | +*.woff2 binary |
| 49 | +*.zip binary |
| 50 | +*.gz binary |
| 51 | + |
| 52 | +# Lock files |
| 53 | +Cargo.lock text eol=lf -diff |
| 54 | +flake.lock text eol=lf -diff |
0 commit comments