Skip to content

Commit 9cd4160

Browse files
authored
docs(linter): fix documentation formatting for max_params options (#14744)
Was using the wrong headers for the page structure: https://oxc.rs/docs/guide/usage/linter/rules/eslint/max-params.html#options Signed-off-by: Connor Shea <connor.james.shea@gmail.com>
1 parent 644dfd4 commit 9cd4160

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/oxc_linter/src/rules/eslint/max_params.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ declare_oxc_lint!(
8181
///
8282
/// ### Options
8383
///
84-
/// ### max
84+
/// #### max
8585
///
8686
/// `{ "max": number }`
8787
///
@@ -90,7 +90,7 @@ declare_oxc_lint!(
9090
/// For example `{ "max": 4 }` would mean that having a function take four
9191
/// parameters is allowed which overrides the default of three.
9292
///
93-
/// ### countVoidThis
93+
/// #### countVoidThis
9494
///
9595
/// `{ "countVoidThis": boolean }`
9696
///

0 commit comments

Comments
 (0)