From 26dc5a6f909819f649ce80a11278ad3020f85b4c Mon Sep 17 00:00:00 2001 From: "C. T. Lin" Date: Wed, 9 May 2018 11:02:46 +0800 Subject: [PATCH] fix typo containing --- lib/rules/no-access-state-in-setstate.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rules/no-access-state-in-setstate.js b/lib/rules/no-access-state-in-setstate.js index 9d5401c1c9..e656d57f2b 100644 --- a/lib/rules/no-access-state-in-setstate.js +++ b/lib/rules/no-access-state-in-setstate.js @@ -47,7 +47,7 @@ module.exports = { return { CallExpression(node) { // Appends all the methods that are calling another - // method containg this.state to the methods array + // method containing this.state to the methods array methods.map(method => { if (node.callee.name === method.methodName) { let current = node.parent;