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
This commit is contained in:
Michał Gołębiowski-Owczarek
2023-07-10 18:19:52 +02:00
committed by GitHub
parent 2b6b5e0a3b
commit 198b41c8c2

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