Skip to content

Commit cc794ee

Browse files
authored
Fix typos in prefer-es6-class.md
1 parent feba507 commit cc794ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/rules/prefer-es6-class.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Enforce ES5 or ES6 class for React Components (react/prefer-es6-class)
22

3-
React offers you two way to create traditional components: using the ES5 `create-react-class` module or the new ES6 class system. This rule allow you to enforce one way or another.
3+
React offers you two ways to create traditional components: using the ES5 `create-react-class` module or the new ES6 class system. This rule allows you to enforce one way or another.
44

55
## Rule Options
66

@@ -36,7 +36,7 @@ class Hello extends React.Component {
3636

3737
### `never` mode
3838

39-
Will enforce ES5 classes for React Components
39+
Will enforce ES5 classes for React Components.
4040

4141
The following patterns are considered warnings:
4242

0 commit comments

Comments
 (0)