Skip to content

Commit

Permalink
feat: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
chihuo2104 committed May 2, 2024
1 parent b012951 commit 44f8681
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 39 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/eslint-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion components/ArticleCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ props.posts.forEach((element) => {
<section class='p-2'>
<Card v-if="i.banner !== undefined" :img="i.banner" class="rounded-md">
<div class="m-4">
<div class="text-2xl font-bold" v-if="i.pinned !== undefined ? i.pinned : false" id="pin"><Icon name="pin" /><span class="text-xl"">置顶文章</span></div>
<div class="text-2xl font-bold" v-if="i.pinned !== undefined ? i.pinned : false" id="pin"><Icon name="pin" /><span class="text-xl">置顶文章</span></div>
<h2 :id="'posts-title-' + i.id" class="text-2xl font-bold pl-2">
<nuxt-link :to="'/posts/' + i.path">{{ i.title }}</nuxt-link>
</h2>
Expand Down
37 changes: 0 additions & 37 deletions pages/error/404.html.vue

This file was deleted.

0 comments on commit 44f8681

Please sign in to comment.