Skip to content

Commit 47212e2

Browse files
committed
yoyo
1 parent 54a25fd commit 47212e2

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

packages/plugin/src/rules/naming-convention/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ const schemaOption = {
5151
const descriptionPrefixesSuffixes = (name: 'forbiddenPattern' | 'requiredPattern') =>
5252
`> [!WARNING]
5353
>
54-
> This option is deprecated and will be removed in the next major release. Use \`${name}\` instead.`;
54+
> This option is deprecated and will be removed in the next major release. Use [\`${name}\`](#${name.toLowerCase()}-array) instead.`;
5555

5656
const schema = {
5757
definitions: {

website/content/rules/naming-convention.mdx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -351,8 +351,8 @@ Additional restrictions:
351351

352352
> [!WARNING]
353353
>
354-
> This option is deprecated and will be removed in the next major release. Use `forbiddenPattern`
355-
> instead.
354+
> This option is deprecated and will be removed in the next major release. Use
355+
> [`forbiddenPattern`](#forbiddenpattern-array) instead.
356356

357357
The object is an array with all elements of the type `string`.
358358

@@ -365,8 +365,8 @@ Additional restrictions:
365365

366366
> [!WARNING]
367367
>
368-
> This option is deprecated and will be removed in the next major release. Use `forbiddenPattern`
369-
> instead.
368+
> This option is deprecated and will be removed in the next major release. Use
369+
> [`forbiddenPattern`](#forbiddenpattern-array) instead.
370370

371371
The object is an array with all elements of the type `string`.
372372

@@ -379,8 +379,8 @@ Additional restrictions:
379379

380380
> [!WARNING]
381381
>
382-
> This option is deprecated and will be removed in the next major release. Use `requiredPattern`
383-
> instead.
382+
> This option is deprecated and will be removed in the next major release. Use
383+
> [`requiredPattern`](#requiredpattern-array) instead.
384384

385385
The object is an array with all elements of the type `string`.
386386

@@ -393,8 +393,8 @@ Additional restrictions:
393393

394394
> [!WARNING]
395395
>
396-
> This option is deprecated and will be removed in the next major release. Use `requiredPattern`
397-
> instead.
396+
> This option is deprecated and will be removed in the next major release. Use
397+
> [`requiredPattern`](#requiredpattern-array) instead.
398398

399399
The object is an array with all elements of the type `string`.
400400

0 commit comments

Comments
 (0)