Skip to content

Commit e275606

Browse files
committed
Lints
1 parent 17058ac commit e275606

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@
66
"private": true,
77
"scripts": {
88
"lint": "eslint --report-unused-disable-directives --max-warnings 0",
9-
"lint:sh": "find . -name '*.sh' -not -path '*/node_modules/*' -print0 | xargs -0 shellcheck && find . -name '*.sh' -not -path '*/node_modules/*' -print0 | xargs -0 shfmt -d -i 2",
10-
"format": "PRETTIER_EXPERIMENTAL_CLI=1 prettier --write . && find . -name '*.sh' -not -path '*/node_modules/*' -print0 | xargs -0 shfmt -w -i 2",
9+
"lint:sh": "find . -name '*.sh' -not -path '*/node_modules/*' -print0 | xargs -0 shellcheck",
10+
"format": "PRETTIER_EXPERIMENTAL_CLI=1 prettier --write . && find . -name '*.sh' -not -path '*/node_modules/*' -print0",
11+
"format:sh": "find . -name '*.sh' -not -path '*/node_modules/*' -print | xargs -0 shfmt -w -i 2",
1112
"typecheck": "tsc --noEmit"
1213
},
1314
"dependencies": {

website/src/content.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import { defineCollection } from 'astro:content'
21
import { glob } from 'astro/loaders'
32
import { z } from 'astro/zod'
3+
import { defineCollection } from 'astro:content'
44

55
const blog = defineCollection({
66
loader: glob({ pattern: '**/*.md', base: './src/content/blog' }),

0 commit comments

Comments
 (0)