Skip to content

Commit 3c18c1f

Browse files
committed
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 198b41c)
1 parent 72ae577 commit 3c18c1f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.gitattributes

+3
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,7 @@
22
* text=auto
33

44
# JS files must always use LF for tools to work
5+
# JS files may have mjs or cjs extensions now as well
56
*.js eol=lf
7+
*.cjs eol=lf
8+
*.mjs eol=lf

0 commit comments

Comments
 (0)