Build: Make sure *.cjs & *.mjs files use UNIX line endings as well

We've had this rule for `*.js` files so far but we now have two new JS
extensions.

Closes gh-5290

(cherry picked from commit 198b41c8c2)
This commit is contained in:
Michał Gołębiowski-Owczarek 2023-07-10 18:19:52 +02:00 committed by Michał Gołębiowski-Owczarek
parent 72ae577c94
commit 3c18c1f33c
No known key found for this signature in database

3
.gitattributes vendored
View File

@ -2,4 +2,7 @@
* text=auto
# JS files must always use LF for tools to work
# JS files may have mjs or cjs extensions now as well
*.js eol=lf
*.cjs eol=lf
*.mjs eol=lf