Skip to content

Commit

Permalink
[Docs] prefer-es6-class: Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
spencerbyw authored and ljharb committed Oct 1, 2019
1 parent feba507 commit 20cc016
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/rules/prefer-es6-class.md
@@ -1,6 +1,6 @@
# Enforce ES5 or ES6 class for React Components (react/prefer-es6-class)

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.
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.

## Rule Options

Expand Down Expand Up @@ -36,7 +36,7 @@ class Hello extends React.Component {

### `never` mode

Will enforce ES5 classes for React Components
Will enforce ES5 classes for React Components.

The following patterns are considered warnings:

Expand Down

0 comments on commit 20cc016

Please sign in to comment.