From https://github.com/yannickcr/eslint-plugin-react/issues/2135, it seems that this may be an error in the eslint plugin?
@@ -58,7 +58,8 @@ module.exports = {
'jest/no-jest-import': 'off',
'jest/no-export': 'warn',
'jest/no-try-expect': 'warn',
- 'jest/expect-expect': 'off'
+ 'jest/expect-expect': 'off',
+ 'react/prop-types': 'warn'
},
settings: {
react: {