Skip to content

Commit

Permalink
Build: Make sure *.cjs & *.mjs files use UNIX line endings as well
Browse files Browse the repository at this point in the history
We've had this rule for `*.js` files so far but we now have two new JS
extensions.

Closes gh-5290
  • Loading branch information
mgol committed Jul 10, 2023
1 parent 2b6b5e0 commit 198b41c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitattributes
Expand Up @@ -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

0 comments on commit 198b41c

Please sign in to comment.