From b407e65c17553fcdb900e4527b06ce0fce8cd2ad Mon Sep 17 00:00:00 2001 From: Rosen Konstantinov Date: Fri, 12 Feb 2016 15:54:21 +0200 Subject: [PATCH] feat: ignore multiple stateless components per file --- react.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/react.js b/react.js index 7bb0e81..db8192e 100644 --- a/react.js +++ b/react.js @@ -28,7 +28,7 @@ module.exports = { "react/no-did-update-set-state": 2, "react/no-direct-mutation-state": 2, "react/no-is-mounted": 2, - "react/no-multi-comp": 2, + "react/no-multi-comp": [ 2, { "ignoreStateless": true } ], "react/no-unknown-property": 2, "react/prefer-es6-class": 2, "react/prop-types": 2,