From 44f86814f30b34c0408cc0cb89dbf1fd121790d3 Mon Sep 17 00:00:00 2001 From: chihuo2104 Date: Thu, 2 May 2024 14:28:09 +0800 Subject: [PATCH] feat: fix lint --- .github/workflows/eslint-check.yml | 2 +- components/ArticleCard.vue | 2 +- pages/error/404.html.vue | 37 ------------------------------ 3 files changed, 2 insertions(+), 39 deletions(-) delete mode 100644 pages/error/404.html.vue diff --git a/.github/workflows/eslint-check.yml b/.github/workflows/eslint-check.yml index b065582..6c8adac 100644 --- a/.github/workflows/eslint-check.yml +++ b/.github/workflows/eslint-check.yml @@ -29,10 +29,10 @@ jobs: with: node-version: '>=18.16.0' check-latest: true - cache: pnpm - name: Install dependencies run: | + npm install -g pnpm pnpm i --frozen-lockfile - name: Run ESLint diff --git a/components/ArticleCard.vue b/components/ArticleCard.vue index 1835113..aecb0e6 100644 --- a/components/ArticleCard.vue +++ b/components/ArticleCard.vue @@ -34,7 +34,7 @@ props.posts.forEach((element) => {
-
置顶文章
+
置顶文章

{{ i.title }}

diff --git a/pages/error/404.html.vue b/pages/error/404.html.vue deleted file mode 100644 index 2c74979..0000000 --- a/pages/error/404.html.vue +++ /dev/null @@ -1,37 +0,0 @@ - - - -