fix: biome linter error (#369)
* fix(remark-excerpt): change loop variable to const for better readability * fix(rehype-component-github-card): correct string quotes for consistency in title element * fix(remark-directive-rehype): update biome-ignore comment for clarity on linting rule * fix(rehype-component-admonition): use optional chaining for properties check and improve formatting * fix(Pagination): improve equality checks and enhance code readability * fix(TOC): correct equality check for consistency in removeTailingHash function * fix(ImageWrapper): update import path to use 'node:path' for consistency * fix(PostCard): update import path to use 'node:path' for consistency
This commit is contained in:
1 parent
c106a639f4
commit
b016bd096c
8 files changed
+22
-18
No files matched your search
@@ -1,14 +1,15 @@
|
||||
---
|
||||
import path from 'path'
|
||||
import path from 'node:path'
|
||||
import { Icon } from 'astro-icon/components'
|
||||
import I18nKey from '../i18n/i18nKey'
|
||||
import { i18n } from '../i18n/translation'
|
||||
import { getDir } from '../utils/url-utils'
|
||||
import PostMetadata from './PostMeta.astro'
|
||||
import ImageWrapper from './misc/ImageWrapper.astro'
|
||||
import { Icon } from 'astro-icon/components'
|
||||
import { i18n } from '../i18n/translation'
|
||||
import I18nKey from '../i18n/i18nKey'
|
||||
import { getDir } from '../utils/url-utils'
|
||||
|
||||
interface Props {
|
||||
class?: string
|
||||
// biome-ignore lint/suspicious/noExplicitAny: <explanation>
|
||||
entry: any
|
||||
title: string
|
||||
url: string
|
||||
|
||||
Reference in new issue
Block a user