chore(config): Fixed linting errors for CI
All checks were successful
/ build (push) Successful in 38s
All checks were successful
/ build (push) Successful in 38s
This commit is contained in:
@@ -18,7 +18,7 @@ jobs:
|
|||||||
- name: Setup Node
|
- name: Setup Node
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: '22'
|
node-version: "22"
|
||||||
check-latest: true
|
check-latest: true
|
||||||
|
|
||||||
- name: Cache dependencies
|
- name: Cache dependencies
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
public
|
public
|
||||||
node_modules
|
node_modules
|
||||||
.quartz-cache
|
.quartz-cache
|
||||||
|
content
|
||||||
|
|||||||
@@ -47,8 +47,7 @@ export const defaultContentPageLayout: PageLayout = {
|
|||||||
node.displayName = "📄 " + node.displayName
|
node.displayName = "📄 " + node.displayName
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
}
|
}),
|
||||||
),
|
|
||||||
],
|
],
|
||||||
right: [
|
right: [
|
||||||
Component.Graph(),
|
Component.Graph(),
|
||||||
|
|||||||
@@ -9,7 +9,6 @@ import { concatenateResources } from "../../util/resources"
|
|||||||
import { trieFromAllFiles } from "../../util/ctx"
|
import { trieFromAllFiles } from "../../util/ctx"
|
||||||
|
|
||||||
export default (() => {
|
export default (() => {
|
||||||
|
|
||||||
const FolderContent: QuartzComponent = (props: QuartzComponentProps) => {
|
const FolderContent: QuartzComponent = (props: QuartzComponentProps) => {
|
||||||
const { tree, fileData, allFiles } = props
|
const { tree, fileData, allFiles } = props
|
||||||
|
|
||||||
@@ -22,7 +21,6 @@ export default (() => {
|
|||||||
const cssClasses: string[] = fileData.frontmatter?.cssclasses ?? []
|
const cssClasses: string[] = fileData.frontmatter?.cssclasses ?? []
|
||||||
const classes = cssClasses.join(" ")
|
const classes = cssClasses.join(" ")
|
||||||
|
|
||||||
|
|
||||||
const content = (
|
const content = (
|
||||||
(tree as Root).children.length === 0
|
(tree as Root).children.length === 0
|
||||||
? fileData.description
|
? fileData.description
|
||||||
|
|||||||
Reference in New Issue
Block a user