From 20cc016963273fc1774d2b28087eb7e6878420ef Mon Sep 17 00:00:00 2001 From: "Spencer A. Bywater" Date: Tue, 1 Oct 2019 08:15:13 -0700 Subject: [PATCH] [Docs] `prefer-es6-class`: Fix typos --- docs/rules/prefer-es6-class.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/rules/prefer-es6-class.md b/docs/rules/prefer-es6-class.md index c044211183..8c876b4342 100644 --- a/docs/rules/prefer-es6-class.md +++ b/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 @@ -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: