mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-07-25 08:27:19 +02:00
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).
25 lines
620 B
Plaintext
25 lines
620 B
Plaintext
# Force Unix line endings for most file formats (except binary files)
|
|
*.config 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
|