Skip to content

Commit 4c52dd2

Browse files
committed
Merge pull request #526 from ahoym/grammar-fix/prefer-stateless-function
Fix grammar in prefer-stateless-function rule documentation
2 parents aba4f96 + 9f4465c commit 4c52dd2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/rules/prefer-stateless-function.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ This rule will check your class based React components for
1111
* `render` method that return anything but JSX (`undefined`, `null`, etc.)
1212
* presence of `ref` attribute in JSX
1313

14-
If none of these 4 elements are found then the rule warn you to write this component as a pure function.
14+
If none of these 4 elements are found, the rule will warn you to write this component as a pure function.
1515

1616
The following pattern is considered warnings:
1717

0 commit comments

Comments
 (0)