From bee6343382d5243fb83062e44ff5283768d7e7fa Mon Sep 17 00:00:00 2001 From: Cameron Chamberlain Date: Fri, 23 Aug 2024 10:04:00 +1000 Subject: [PATCH] [minor] No files with multiple components --- react-config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/react-config.js b/react-config.js index c60b6bdb..169ca3b5 100644 --- a/react-config.js +++ b/react-config.js @@ -31,6 +31,7 @@ module.exports = { 'react/jsx-props-no-spreading': 'off', 'react/no-danger': 'warn', 'react/no-find-dom-node': 'warn', + 'react/no-multi-comp': 'error', 'react/no-string-refs': 'warn', 'react/no-unused-prop-types': 'warn', 'react/prefer-stateless-function': 'warn',