From 14d99fc76eb68b510504b0c34fe97edef9610d76 Mon Sep 17 00:00:00 2001 From: zdm Date: Mon, 16 Dec 2024 20:19:02 +0200 Subject: [PATCH] chore: refactor mime --- lib/lint/file.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/lint/file.js b/lib/lint/file.js index 05bd064b..2081c308 100644 --- a/lib/lint/file.js +++ b/lib/lint/file.js @@ -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" ],