From ec73a254572b3d49ecc96cc6e69345f03303843e Mon Sep 17 00:00:00 2001 From: Nexmoe <16796652+nexmoe@users.noreply.github.com> Date: Fri, 26 Apr 2024 21:28:26 +0800 Subject: [PATCH] chore: eslint --- components/module/Image.vue | 15 +- eslint.config.js | 8 - eslint.config.mjs | 19 + layouts/default.vue | 3 +- nuxt.config.ts | 13 +- package.json | 2 +- pages/space/_[id].vue | 2 +- pnpm-lock.yaml | 1423 +++++++++-------------- server/api/module/[id].get.ts | 10 - server/flowing.ts | 13 +- server/middleware/update-site-config.ts | 2 +- server/trpc/routers/config.ts | 2 +- 12 files changed, 621 insertions(+), 891 deletions(-) delete mode 100644 eslint.config.js create mode 100644 eslint.config.mjs delete mode 100644 server/api/module/[id].get.ts diff --git a/components/module/Image.vue b/components/module/Image.vue index e2fb531..e8612ef 100644 --- a/components/module/Image.vue +++ b/components/module/Image.vue @@ -17,9 +17,9 @@ const text = computed(() => extractTextFromHTML(props.module.content))