Skip to content

Commit

Permalink
chore: refactor mime
Browse files Browse the repository at this point in the history
  • Loading branch information
zdm committed Dec 16, 2024
1 parent d15c325 commit 14d99fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/lint/file.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,13 @@ mime.get( "application/x-sh" ).filenames.add( [
] );

// NOTE ".ts" conflicts with "video/mp2t"
mime.addType( {
mime.add( {
"type": "application/x-typescript",
"compressible": true,
"extnames": [ ".ts", ".tsx", ".mts", ".cts" ],
} );

mime.addType( {
mime.add( {
"type": "application/x-vue",
"compressible": true,
"extnames": [ ".vue" ],
Expand Down

0 comments on commit 14d99fc

Please sign in to comment.