Skip to content

Commit d776a17

Browse files
committed
docs(linter): improve nextjs/no-typos rule documentation (#14470)
1 parent 0f19be0 commit d776a17

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

crates/oxc_linter/src/rules/nextjs/no_typos.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,11 @@ pub struct NoTypos;
2424
declare_oxc_lint!(
2525
/// ### What it does
2626
///
27-
/// Prevent common typos in Next.js's data fetching functions
27+
/// Detects common typos in Next.js data fetching function names.
2828
///
2929
/// ### Why is this bad?
3030
///
31+
/// Next.js will not call incorrectly named data fetching functions, causing pages to render without expected data.
3132
///
3233
/// ### Examples
3334
///

0 commit comments

Comments
 (0)