|
| 1 | +# ===================================== |
| 2 | +# GitHub Linguist Language Override |
| 3 | +# ===================================== |
1 | 4 |
|
2 | | -# CORE GIT SETTINGS |
3 | | - |
4 | | -# Cross-platform line endings (Windows/Linux/Mac compatibility) |
5 | | -* text=auto eol=lf |
6 | | - |
7 | | - |
8 | | -# GITHUB LANGUAGES STATISTICS |
9 | | - |
10 | | -# Programming Languages |
11 | | -*.py linguist-language=Python |
12 | | -*.js linguist-language=JavaScript |
13 | | -*.ts linguist-language=TypeScript |
14 | | -*.go linguist-language=Go |
15 | | -*.rs linguist-language=Rust |
16 | | -*.java linguist-language=Java |
17 | | -*.cpp linguist-language=C++ |
18 | | -*.c linguist-language=C |
19 | | -*.cs linguist-language=C# |
20 | | -*.php linguist-language=PHP |
21 | | -*.rb linguist-language=Ruby |
22 | | -*.sh linguist-language=Shell |
23 | | -*.ps1 linguist-language=PowerShell |
24 | | -Dockerfile linguist-language=Dockerfile |
25 | | -Makefile linguist-language=Makefile |
26 | | - |
27 | | -# Configuration & Data Formats |
| 5 | +# the main language — YAML |
28 | 6 | *.yml linguist-language=YAML |
29 | 7 | *.yaml linguist-language=YAML |
30 | | -*.json linguist-language=JSON |
31 | | -*.xml linguist-language=XML |
32 | | -*.toml linguist-language=TOML |
33 | | -*.ini linguist-language=INI |
34 | 8 | docker-compose.yml linguist-language=YAML |
35 | | -*.config linguist-language=XML |
36 | | - |
37 | | -# Web Technologies |
38 | | -*.html linguist-language=HTML |
39 | | -*.css linguist-language=CSS |
40 | | -*.scss linguist-language=SCSS |
41 | | -*.sass linguist-language=Sass |
42 | | - |
43 | | -# Documentation (excluded from code statistics) |
44 | | -*.md linguist-documentation=true |
45 | | -*.rst linguist-documentation=true |
46 | | -*.txt linguist-documentation=true |
47 | | -LICENSE linguist-documentation=true |
48 | | -README.md linguist-documentation=true |
49 | | -CHANGELOG.md linguist-documentation=true |
50 | | -CONTRIBUTING.md linguist-documentation=true |
51 | | - |
52 | | -# Vendor/Ignored Files (excluded from language statistics) |
53 | | -*.env linguist-vendored=true |
54 | | -*.env.* linguist-vendored=true |
55 | | -.gitignore linguist-vendored=true |
56 | | -.dockerignore linguist-vendored=true |
57 | | - |
58 | | - |
| 9 | +alertmanager/*.yml linguist-language=YAML |
| 10 | +prometheus/config/*.yml linguist-language=YAML |
59 | 11 |
|
60 | | -# GIT FILE HANDLING |
| 12 | +# JSON — Grafana dashboards (maybe other config) |
| 13 | +grafana/provisioning/dashboards/*.json linguist-language=JSON |
| 14 | +grafana/provisioning/datasources/*.json linguist-language=JSON |
61 | 15 |
|
62 | | -# Binary Files (protected from diff/merge) |
63 | | -*.png binary |
64 | | -*.jpg binary |
65 | | -*.jpeg binary |
66 | | -*.gif binary |
67 | | -*.svg binary |
68 | | -*.ico binary |
69 | | -*.pdf binary |
70 | | -*.zip binary |
71 | | -*.tar binary |
72 | | -*.gz binary |
73 | | -*.7z binary |
| 16 | +# HTML — only text-file (for test nginx) |
| 17 | +nginx/html/*.html linguist-language=HTML |
74 | 18 |
|
75 | | -# Executable Scripts (preserve executable bit + LF endings) |
76 | | -*.sh text eol=lf |
77 | | -*.bash text eol=lf |
| 19 | +# ignoring tmp or log |
| 20 | +logs/* linguist-detectable=false |
| 21 | +prometheus/data/* linguist-detectable=false |
| 22 | +grafana/data/* linguist-detectable=false |
78 | 23 |
|
79 | | -# Exportable/Generated files |
80 | | -*.min.js binary |
81 | | -*.min.css binary |
| 24 | +# README и dosc NOT include for statistics |
| 25 | +*.md linguist-detectable=false |
| 26 | +screenshots/* linguist-detectable=false |
0 commit comments