Skip to content

Commit

Permalink
Fix grammar in prefer-stateless-function rule
Browse files Browse the repository at this point in the history
  • Loading branch information
ahoym committed Apr 2, 2016
1 parent aba4f96 commit 9f4465c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/rules/prefer-stateless-function.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ This rule will check your class based React components for
* `render` method that return anything but JSX (`undefined`, `null`, etc.)
* presence of `ref` attribute in JSX

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

The following pattern is considered warnings:

Expand Down

0 comments on commit 9f4465c

Please sign in to comment.