From ec722fb103655e99c351a270851b11b1ce49abbe Mon Sep 17 00:00:00 2001 From: Ed S Date: Mon, 3 Nov 2025 17:49:48 +0000 Subject: [PATCH 1/2] Add missing documentation of ignoreTypeOfTestName option --- docs/rules/valid-title.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/rules/valid-title.md b/docs/rules/valid-title.md index cbf4a208d..48d0a6b4a 100644 --- a/docs/rules/valid-title.md +++ b/docs/rules/valid-title.md @@ -175,6 +175,7 @@ describe('foo', () => { interface Options { ignoreSpaces?: boolean; ignoreTypeOfDescribeName?: boolean; + ignoreTypeOfTestName?: boolean; disallowedWords?: string[]; mustNotMatch?: Partial> | string; mustMatch?: Partial> | string; @@ -194,6 +195,13 @@ Default: `false` When enabled, the type of the first argument to `describe` blocks won't be checked. +#### `ignoreTypeOfTestName` + +Default: `false` + +When enabled, the type of the first argument to `it` blocks won't be +checked. + #### `disallowedWords` Default: `[]` From acfc2c2000c6c742cf0f8419ffc9792f2deb97dc Mon Sep 17 00:00:00 2001 From: Ed Sanders Date: Tue, 4 Nov 2025 11:35:26 +0000 Subject: [PATCH 2/2] Merge blocks, run prettier --- docs/rules/valid-title.md | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/docs/rules/valid-title.md b/docs/rules/valid-title.md index 48d0a6b4a..a0904b97a 100644 --- a/docs/rules/valid-title.md +++ b/docs/rules/valid-title.md @@ -188,19 +188,12 @@ Default: `false` When enabled, the leading and trailing spaces won't be checked. -#### `ignoreTypeOfDescribeName` +#### `ignoreTypeOfDescribeName` & `ignoreTypeOfTestName` Default: `false` -When enabled, the type of the first argument to `describe` blocks won't be -checked. - -#### `ignoreTypeOfTestName` - -Default: `false` - -When enabled, the type of the first argument to `it` blocks won't be -checked. +When enabled, the type of the first argument to `describe`/`test` blocks won't +be checked. #### `disallowedWords`