Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/thin-dots-approve.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'eslint-plugin-zod-x': patch
---

fix(schema-error-property-style): correct typos in schema property descriptions
8 changes: 4 additions & 4 deletions docs/rules/schema-error-property-style.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@

<!-- begin auto-generated rule options list -->

| Name | Description | Type |
| :--------- | :--------------------------------------------------------- | :----- |
| `example` | Example code to help user understands the required pattern | String |
| `selector` | A ESQuery string to match the required pattern | String |
| Name | Description | Type |
| :--------- | :------------------------------------------------------------ | :----- |
| `example` | Example code to help the user understand the required pattern | String |
| `selector` | An ESQuery string to match the required pattern | String |

<!-- end auto-generated rule options list -->

Expand Down
4 changes: 2 additions & 2 deletions src/rules/schema-error-property-style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ export const schemaErrorPropertyStyle = ESLintUtils.RuleCreator(getRuleURL)<
type: 'object',
properties: {
selector: {
description: 'A ESQuery string to match the required pattern',
description: 'An ESQuery string to match the required pattern',
type: 'string',
},
example: {
description:
'Example code to help user understands the required pattern',
'Example code to help the user understand the required pattern',
type: 'string',
},
},
Expand Down