Skip to content

Commit

Permalink
fix: lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
larrasu committed Nov 4, 2023
1 parent f44a12a commit 836e2f2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
6 changes: 5 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
{
"prettier.enable": false
"prettier.enable": false,
"editor.codeActionsOnSave": {
"source.fixAll": false,
"source.fixAll.eslint": true
}
}
2 changes: 1 addition & 1 deletion docs/components/content/examples/FormExampleElements.vue
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ const schema = z.object({
message: 'Select Option 2'
}),
range: z.number().max(20, { message: 'Must be less than 20' }),
rating: z.number().max(3, { message: 'Must be less than 3' })
radioGroup: z.string().refine(value => value === 'option-2', {
message: 'Select Option 2'
}),
rating: z.number().max(3, { message: 'Must be less than 3' })
})
type Schema = z.infer<typeof schema>
Expand Down
3 changes: 1 addition & 2 deletions docs/content/3.forms/11.Rating.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
---
title: 'Rating'
description: Display a rating field.
links:
- label: GitHub
icon: i-simple-icons-github
to: https://github.com/nuxt/ui/blob/dev/src/runtime/components/forms/Rating.vue
navigation:
badge: New
---

## Usage
Expand Down

0 comments on commit 836e2f2

Please sign in to comment.