diff --git a/index.js b/index.js index 605ddb3..3fcf027 100644 --- a/index.js +++ b/index.js @@ -15,7 +15,12 @@ module.exports = { } }, rules: { - 'react/boolean-prop-naming': 'error', + 'react/boolean-prop-naming': [ + 'error', + { + validateNested: true + } + ], 'react/button-has-type': 'error', 'react/jsx-child-element-spacing': 'error', 'react/default-props-match-prop-types': 'error',