From 154e82871a31f98f21eae1d55401d664c1123b69 Mon Sep 17 00:00:00 2001 From: Tim van der Meij Date: Sun, 19 Jul 2026 19:20:29 +0200 Subject: [PATCH] Update the file format entries in `.gitattributes` Several extensions (`.coffee`, `.jade`, `.inc` and others) became obsolete in e.g. the conversion to Wintersmith/Fluent/other tools, while other new extensions (`.mjs`, `.njk`, `.py` and others) were missing. This commit removes all obsolete file format entries, adds all missing ones and orders the list alphatically (so it can more easily be matched against tooling that lists all in-use file extensions in the repository). --- .gitattributes | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/.gitattributes b/.gitattributes index d089580c7..8d0d32b06 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,23 +1,24 @@ # Force Unix line endings for most file formats (except binary files) -*.js text eol=lf -*.jsm text eol=lf -*.css text eol=lf -*.html text eol=lf -*.md text eol=lf -*.ftl text eol=lf -*.yml text eol=lf -*.json text eol=lf *.config text eol=lf -*.inc text eol=lf -*.manifest text eol=lf -*.rdf text eol=lf -*.jade text eol=lf -*.coffee text eol=lf +*.css text eol=lf +*.example text eol=lf +*.ftl text eol=lf +*.html text eol=lf +*.js text eol=lf +*.json text eol=lf +*.link text eol=lf +*.md text eol=lf +*.mjs text eol=lf +*.mts text eol=lf +*.njk text eol=lf +*.py text eol=lf +*.svg text eol=lf +*.ts text eol=lf +*.txt text eol=lf +*.yml text eol=lf # PDF files shall not modify CRLF line endings *.pdf -crlf # Linguist language overrides *.js linguist-language=JavaScript -*.jsm linguist-language=JavaScript -*.inc linguist-language=XML