Skip to content
Open
Changes from 1 commit
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
8 changes: 8 additions & 0 deletions docs/rules/valid-title.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Enforce valid titles (`valid-title`)

💼 This rule is enabled in the ✅ `recommended`
Expand Down Expand Up @@ -175,6 +175,7 @@
interface Options {
ignoreSpaces?: boolean;
ignoreTypeOfDescribeName?: boolean;
ignoreTypeOfTestName?: boolean;
disallowedWords?: string[];
mustNotMatch?: Partial<Record<'describe' | 'test' | 'it', string>> | string;
mustMatch?: Partial<Record<'describe' | 'test' | 'it', string>> | string;
Expand All @@ -194,6 +195,13 @@
When enabled, the type of the first argument to `describe` blocks won't be
checked.

#### `ignoreTypeOfTestName`
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if we're going to add a section for this, we might as well use it for ignoreTypeOfDescribeName too, like mustMatch and mustNotMatch below


Default: `false`

When enabled, the type of the first argument to `it` blocks won't be
checked.

#### `disallowedWords`

Default: `[]`
Expand Down
Loading