From b17941fc44035c67fa89ddbd9f25c43630e6ceee Mon Sep 17 00:00:00 2001 From: wvffle Date: Wed, 31 Aug 2022 18:43:25 +0000 Subject: [PATCH] Fix eslint --- front/.eslintrc.js | 8 ++++---- front/src/components/Sidebar.vue | 7 ++++++- front/src/components/admin/SettingsGroup.vue | 3 ++- front/src/components/audio/podcast/MobileRow.vue | 10 +++++++++- front/src/components/audio/podcast/Modal.vue | 10 +++++++++- front/src/components/audio/podcast/Row.vue | 10 +++++++++- front/src/components/audio/track/MobileRow.vue | 10 +++++++++- front/src/components/audio/track/Modal.vue | 10 +++++++++- front/src/components/audio/track/Row.vue | 9 ++++++++- front/src/components/channels/AlbumModal.vue | 7 ++++++- front/src/components/common/EmptyState.vue | 7 ++++++- front/src/components/federation/FetchButton.vue | 7 ++++++- front/src/components/library/ArtistDetail.vue | 9 +++++++-- front/src/components/library/EditForm.vue | 8 ++++---- front/src/components/library/FsLogs.vue | 5 ++++- front/src/components/library/TrackDetail.vue | 9 +++++++-- .../manage/moderation/InstancePolicyCard.vue | 7 ++++++- front/src/components/playlists/Editor.vue | 8 ++++---- front/src/components/playlists/Form.vue | 2 +- front/src/views/Search.vue | 14 ++++++++------ front/src/views/auth/ProfileBase.vue | 7 ++++++- front/src/views/auth/ProfileOverview.vue | 7 ++++++- front/src/views/library/Edit.vue | 7 ++++++- front/src/views/library/Upload.vue | 7 ++++++- 24 files changed, 148 insertions(+), 40 deletions(-) diff --git a/front/.eslintrc.js b/front/.eslintrc.js index bc89c8201..99fecb180 100644 --- a/front/.eslintrc.js +++ b/front/.eslintrc.js @@ -32,6 +32,9 @@ module.exports = { 'no-unused-vars': 'off', 'no-use-before-define': 'off', + // TODO (wvffle): VUI and #1618 + 'import/extensions': 'off', + // TODO (wvffle): Enable these rules later 'vue/multi-word-component-names': 'off', '@typescript-eslint/no-this-alias': 'off', @@ -39,9 +42,6 @@ module.exports = { '@typescript-eslint/no-unused-vars': 'off', // TODO (wvffle): Migrate to pinia - '@typescript-eslint/no-explicit-any': 'off', - - // TODO (wvffle): Migrate to