From 46246f1c9a1bc01e637cd050542c57558983af38 Mon Sep 17 00:00:00 2001 From: Ben Jervis Date: Wed, 15 Nov 2023 14:20:04 +1100 Subject: [PATCH] Change children to ignore --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index d979233..28b6644 100644 --- a/index.js +++ b/index.js @@ -12,7 +12,7 @@ const reactRules = { 'react/prop-types': OFF, 'react/jsx-curly-brace-presence': [ ERROR, - { props: 'never', children: 'never', propElementValues: 'always' }, + { props: 'never', children: 'ignore', propElementValues: 'always' }, ], };