Skip to content

Commit

Permalink
soft description rules
Browse files Browse the repository at this point in the history
  • Loading branch information
aeither committed Jan 10, 2024
1 parent 82ec1f7 commit 584c494
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
"source.fixAll.eslint": "explicit"
},
"[markdown]": {
"editor.wordWrap": "on",
"editor.codeActionsOnSave": {
"source.fixAll.markdownlint": true
"source.fixAll.markdownlint": "explicit"
}
},
"prettier.documentSelectors": ["**/*.astro"],
Expand Down
2 changes: 1 addition & 1 deletion src/content/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const post = defineCollection({
schema: ({ image }) =>
z.object({
title: z.string().max(60),
description: z.string().min(50).max(160),
description: z.string().min(20).max(240),
publishDate: z
.string()
.or(z.date())
Expand Down

0 comments on commit 584c494

Please sign in to comment.