diff --git a/.eslintrc.js b/.eslintrc.js index 51b79046b8..348682e98d 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -37,6 +37,9 @@ module.exports = { 'react/no-redundant-should-component-update': 'error', 'react/no-this-in-sfc': 'error', 'react/no-typos': 'error', + // Flow provides enough coverage over the prop types, and there can be errors + // with some of the more complicated Flow types. + 'react/prop-types': 'off', "react/jsx-curly-brace-presence": ['error', { "props": 'never', "children": 'never' }], // `no-unused-prop-types` is buggy when we use destructuring parameters in // functions as it misunderstands them as functional components.