From 7f2e0f2f889989007ab88622404e0f6a9fc13817 Mon Sep 17 00:00:00 2001 From: binimum <61615730+binimum@users.noreply.github.com> Date: Sun, 5 Apr 2026 18:51:13 +0000 Subject: [PATCH] style: auto-fix linting issues --- public/editors-picks-old/2026-4-5.json | 75 +++++++------------------- public/editors-picks-old/index.json | 2 +- public/editors-picks.json | 2 +- vite.config.ts | 15 ++++-- 4 files changed, 32 insertions(+), 62 deletions(-) diff --git a/public/editors-picks-old/2026-4-5.json b/public/editors-picks-old/2026-4-5.json index cbff21b..3c4ca7f 100644 --- a/public/editors-picks-old/2026-4-5.json +++ b/public/editors-picks-old/2026-4-5.json @@ -12,10 +12,7 @@ "explicit": true, "audioQuality": "LOSSLESS", "mediaMetadata": { - "tags": [ - "LOSSLESS", - "HIRES_LOSSLESS" - ] + "tags": ["LOSSLESS", "HIRES_LOSSLESS"] } }, { @@ -31,9 +28,7 @@ "explicit": true, "audioQuality": "LOSSLESS", "mediaMetadata": { - "tags": [ - "LOSSLESS" - ] + "tags": ["LOSSLESS"] } }, { @@ -49,9 +44,7 @@ "explicit": true, "audioQuality": "LOSSLESS", "mediaMetadata": { - "tags": [ - "LOSSLESS" - ] + "tags": ["LOSSLESS"] } }, { @@ -67,9 +60,7 @@ "explicit": true, "audioQuality": "LOSSLESS", "mediaMetadata": { - "tags": [ - "LOSSLESS" - ] + "tags": ["LOSSLESS"] } }, { @@ -85,9 +76,7 @@ "explicit": true, "audioQuality": "LOSSLESS", "mediaMetadata": { - "tags": [ - "LOSSLESS" - ] + "tags": ["LOSSLESS"] } }, { @@ -103,10 +92,7 @@ "explicit": true, "audioQuality": "LOSSLESS", "mediaMetadata": { - "tags": [ - "LOSSLESS", - "HIRES_LOSSLESS" - ] + "tags": ["LOSSLESS", "HIRES_LOSSLESS"] } }, { @@ -122,10 +108,7 @@ "explicit": true, "audioQuality": "LOSSLESS", "mediaMetadata": { - "tags": [ - "LOSSLESS", - "HIRES_LOSSLESS" - ] + "tags": ["LOSSLESS", "HIRES_LOSSLESS"] } }, { @@ -141,10 +124,7 @@ "explicit": true, "audioQuality": "LOSSLESS", "mediaMetadata": { - "tags": [ - "LOSSLESS", - "HIRES_LOSSLESS" - ] + "tags": ["LOSSLESS", "HIRES_LOSSLESS"] } }, { @@ -160,9 +140,7 @@ "explicit": false, "audioQuality": "LOSSLESS", "mediaMetadata": { - "tags": [ - "LOSSLESS" - ] + "tags": ["LOSSLESS"] } }, { @@ -178,10 +156,7 @@ "explicit": true, "audioQuality": "LOSSLESS", "mediaMetadata": { - "tags": [ - "LOSSLESS", - "HIRES_LOSSLESS" - ] + "tags": ["LOSSLESS", "HIRES_LOSSLESS"] } }, { @@ -197,9 +172,7 @@ "explicit": true, "audioQuality": "LOSSLESS", "mediaMetadata": { - "tags": [ - "LOSSLESS" - ] + "tags": ["LOSSLESS"] } }, { @@ -215,9 +188,7 @@ "explicit": true, "audioQuality": "LOSSLESS", "mediaMetadata": { - "tags": [ - "LOSSLESS" - ] + "tags": ["LOSSLESS"] } }, { @@ -233,9 +204,7 @@ "explicit": true, "audioQuality": "LOSSLESS", "mediaMetadata": { - "tags": [ - "LOSSLESS" - ] + "tags": ["LOSSLESS"] } }, { @@ -251,9 +220,7 @@ "explicit": true, "audioQuality": "LOSSLESS", "mediaMetadata": { - "tags": [ - "LOSSLESS" - ] + "tags": ["LOSSLESS"] } }, { @@ -269,9 +236,7 @@ "explicit": true, "audioQuality": "LOSSLESS", "mediaMetadata": { - "tags": [ - "LOSSLESS" - ] + "tags": ["LOSSLESS"] } }, { @@ -287,9 +252,7 @@ "explicit": true, "audioQuality": "LOSSLESS", "mediaMetadata": { - "tags": [ - "LOSSLESS" - ] + "tags": ["LOSSLESS"] } }, { @@ -305,9 +268,7 @@ "explicit": true, "audioQuality": "LOSSLESS", "mediaMetadata": { - "tags": [ - "LOSSLESS" - ] + "tags": ["LOSSLESS"] } } -] \ No newline at end of file +] diff --git a/public/editors-picks-old/index.json b/public/editors-picks-old/index.json index d744f18..a7f355d 100644 --- a/public/editors-picks-old/index.json +++ b/public/editors-picks-old/index.json @@ -44,4 +44,4 @@ "label": "April Fools '26", "date": "2026-04-01" } -] \ No newline at end of file +] diff --git a/public/editors-picks.json b/public/editors-picks.json index 0637a08..fe51488 100644 --- a/public/editors-picks.json +++ b/public/editors-picks.json @@ -1 +1 @@ -[] \ No newline at end of file +[] diff --git a/vite.config.ts b/vite.config.ts index a4731eb..a440ea2 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -83,10 +83,19 @@ export default defineConfig((_options) => { purgecss({ variables: false, // DO NOT REMOVE UNUSED VARIABLES (breaks web components like am-lyrics) safelist: { - standard: [/^am-lyrics/, /^lyplus-/, 'sidepanel', 'side-panel', 'active', 'show', /^data-/, /^modal-/], + standard: [ + /^am-lyrics/, + /^lyplus-/, + 'sidepanel', + 'side-panel', + 'active', + 'show', + /^data-/, + /^modal-/, + ], deep: [/^am-lyrics/], - greedy: [/^lyplus-/, /sidepanel/, /side-panel/] - } + greedy: [/^lyplus-/, /sidepanel/, /side-panel/], + }, }), authGatePlugin(), uploadPlugin(),