From 6657295098db2d0e6c467c59cf88e2948d69fdfd Mon Sep 17 00:00:00 2001 From: cristianpb Date: Sun, 21 Jan 2024 16:55:29 +0100 Subject: [PATCH] =?UTF-8?q?=E2=99=BF=20Fix=20linter=20problems=20linked=20?= =?UTF-8?q?with=20A11y?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .eslintrc.js | 7 ++++--- src/components/AddToPlaylist.svelte | 2 +- src/components/CreatePlaylist.svelte | 2 +- src/components/DeletePlaylist.svelte | 2 +- src/components/EditClients.svelte | 2 +- src/components/Nav.svelte | 2 +- src/components/NavBottom.svelte | 4 ++-- src/components/SnapClients.svelte | 2 +- src/components/SnapGroups.svelte | 2 +- src/routes/browse.svelte | 6 +++--- src/routes/index.svelte | 4 ++-- src/routes/playlists/[slug].svelte | 6 +++--- src/routes/playlists/index.svelte | 2 +- src/routes/search.svelte | 6 +++--- 14 files changed, 25 insertions(+), 24 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index e8c2241..be8bde3 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -10,10 +10,11 @@ module.exports = { node: true }, extends: [ - 'eslint:recommended' + //'eslint:recommended' + 'plugin:svelte/recommended' ], plugins: [ - 'svelte3' + 'svelte' ], ignorePatterns: [ '__sapper__/', @@ -23,7 +24,7 @@ module.exports = { overrides: [ { files: ['**/*.svelte'], - processor: 'svelte3/svelte3' + processor: 'svelte/svelte' } ], rules: { diff --git a/src/components/AddToPlaylist.svelte b/src/components/AddToPlaylist.svelte index fac915b..e6ee31f 100644 --- a/src/components/AddToPlaylist.svelte +++ b/src/components/AddToPlaylist.svelte @@ -1,5 +1,5 @@