From c8e84c909e1b5f400f1708a4de4968cf4c51cbfd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=98=99=E2=97=A6=20The=20Tablet=20=E2=9D=80=20GamerGirla?= =?UTF-8?q?ndCo=20=E2=97=A6=E2=9D=A7?= Date: Fri, 29 Dec 2023 20:11:07 -0500 Subject: [PATCH] style(*): cleanup unused imports --- .prettierrc.json | 3 +- app.vue | 8 +- components/baseEditor.vue | 17 +--- components/layouts/navbar.vue | 32 ++------ components/layouts/sidebar.vue | 7 +- components/listings/singleStory.vue | 74 +++-------------- components/reviews/singleReview.vue | 43 ++-------- components/story/atoms/bands.vue | 14 +--- components/story/create/singleChapter.vue | 70 +++------------- components/story/create/storyForm.vue | 63 ++------------ components/story/create/uploadOrPaste.vue | 21 +---- composables/useApiFetch.ts | 3 +- layouts/default.vue | 7 +- lib/client/storyFormSchema.ts | 50 +++-------- lib/functions.ts | 21 +---- lib/server/dbHelpers/chapterTransformer.ts | 9 +- lib/server/dbHelpers/listQuerier.ts | 1 - lib/server/forumId.ts | 16 ++-- lib/server/logger.ts | 6 +- lib/server/middlewareButNotReally/index.ts | 13 +-- models/band.ts | 12 +-- models/challenges/biffno.ts | 9 +- models/challenges/ficmas.ts | 15 +--- models/challenges/gen.ts | 6 +- models/inbox.ts | 15 +--- models/privMsg.ts | 13 +-- models/quickMenu.ts | 2 +- models/sidebarEntry.ts | 9 +- models/stories/chapter.ts | 2 +- models/stories/draft.ts | 18 +--- models/stories/index.ts | 13 +-- models/stories/review.ts | 23 ++---- models/user.ts | 28 ++----- pages/auth/login.vue | 26 +----- pages/auth/register.vue | 68 +++------------ pages/story/[id]/[cidx]/edit.vue | 11 +-- pages/story/[id]/edit.vue | 24 ++---- pages/user/[id].vue | 82 +++---------------- plugins/01.db.server.ts | 2 - server/api/auth/login.post.ts | 5 +- server/api/auth/session.get.ts | 8 +- server/api/band/[id]/index.put.ts | 1 - server/api/band/[id]/stories.get.ts | 1 - server/api/exists/email.get.ts | 1 - .../[id]/[chapter]/reviews/index.post.ts | 1 - server/api/story/[id]/index.put.ts | 8 +- server/api/story/new.post.ts | 6 +- server/api/user/me/favs.put.ts | 2 +- server/api/user/me/index.put.ts | 16 ++-- server/middleware/00.dbconn.ts | 1 - server/middleware/05.currentUser.ts | 35 ++++---- typings/express.d.ts | 1 - typings/h3.d.ts | 1 - 53 files changed, 195 insertions(+), 748 deletions(-) diff --git a/.prettierrc.json b/.prettierrc.json index dc83e07..2f00337 100644 --- a/.prettierrc.json +++ b/.prettierrc.json @@ -3,6 +3,5 @@ "useTabs": true, "trailingComma": "all", "arrowParens": "always", - "vueIndentScriptAndStyle": true, - "editorconfig": true + "vueIndentScriptAndStyle": true } diff --git a/app.vue b/app.vue index a14aada..046a716 100644 --- a/app.vue +++ b/app.vue @@ -1,14 +1,11 @@ diff --git a/components/layouts/sidebar.vue b/components/layouts/sidebar.vue index 1183ef0..9f0ac35 100644 --- a/components/layouts/sidebar.vue +++ b/components/layouts/sidebar.vue @@ -1,12 +1,9 @@ diff --git a/components/story/create/uploadOrPaste.vue b/components/story/create/uploadOrPaste.vue index 3b65240..cbf232d 100644 --- a/components/story/create/uploadOrPaste.vue +++ b/components/story/create/uploadOrPaste.vue @@ -1,11 +1,5 @@