Skip to content

Commit c4a95a2

Browse files
committed
docs(linter): move jest/valid-title options into a codeblock (#11961)
1 parent c2e5439 commit c4a95a2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

crates/oxc_linter/src/rules/jest/valid_title.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ declare_oxc_lint!(
7979
/// ```
8080
///
8181
/// ### Options
82+
/// ```typescript
8283
/// interface Options {
8384
/// ignoreSpaces?: boolean;
8485
/// ignoreTypeOfTestName?: boolean;
@@ -87,6 +88,8 @@ declare_oxc_lint!(
8788
/// mustNotMatch?: Partial<Record<'describe' | 'test' | 'it', string>> | string;
8889
/// mustMatch?: Partial<Record<'describe' | 'test' | 'it', string>> | string;
8990
/// }
91+
/// ```
92+
///
9093
ValidTitle,
9194
jest,
9295
correctness,

0 commit comments

Comments
 (0)