Skip to content

Commit 388aba2

Browse files
authored
docs: minor fixes (#1147)
1 parent 33f4a6d commit 388aba2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/plugins/eslint-plugin-react-hooks-extra/src/rules/no-unnecessary-use-prefix.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ react-hooks-extra/no-unnecessary-use-prefix
2222

2323
## Description
2424

25-
Enforces that a function with the 'use' prefix should use at least one Hook inside of it.
25+
Enforces that a function with the `use` prefix should use at least one Hook inside of it.
2626

2727
If your function doesn’t call any Hooks, avoid the `use` prefix. Instead, write it as a regular function without the `use` prefix. For example, `useSorted` below doesn’t call Hooks, so call it `getSorted` instead:
2828

0 commit comments

Comments
 (0)