1
0
mirror of https://github.com/gitattributes/gitattributes.git synced 2025-01-22 00:08:52 -05:00

Add JavaScript .cjs and .mjs extensions

This commit is contained in:
Edwin Kofler 2023-12-08 14:10:01 -08:00 committed by Alexander Karatarakis
parent 4aea34b873
commit ea16268dd4
5 changed files with 10 additions and 0 deletions

View File

@ -25,6 +25,8 @@
*.inc text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php
*.install text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php
*.js text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
*.mjs text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
*.cjs text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
*.json text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
*.lock text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
*.map text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2

View File

@ -14,6 +14,8 @@
*.htm text diff=html
*.html text diff=html
*.js text
*.mjs text
*.cjs text
*.jsp text
*.jspf text
*.jspx text

View File

@ -10,3 +10,5 @@
*.sec -text
*.css text diff=css
*.js seol=lf
*.mjs seol=lf
*.cjs seol=lf

View File

@ -26,6 +26,8 @@
*.inc text
*.ini text
*.js text
*.mjs text
*.cjs text
*.json text
*.jsx text
*.less text

View File

@ -13,6 +13,8 @@
*.htm text diff=html
*.html text diff=html
*.js text
*.mjs text
*.cjs text
*.json text
*.properties text
*.sh text eol=lf