From 3c01111dc03c81e8f788751961db34ef890ef308 Mon Sep 17 00:00:00 2001 From: Julien Wajsberg Date: Thu, 30 Nov 2017 15:55:53 +0100 Subject: [PATCH] Disable no-unused-prop-types for now, as it's buggy --- .eslintrc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.eslintrc.js b/.eslintrc.js index 3b4c5f7a67..44e227a83c 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -38,7 +38,7 @@ module.exports = { // `no-unused-prop-types` is buggy when we use destructuring parameters in // functions as it misunderstands them as functional components. // See https://github.com/yannickcr/eslint-plugin-react/issues/1561 - 'react/no-unused-prop-types': 'warn', + // 'react/no-unused-prop-types': 'error', 'react/no-unused-state': 'error', 'react/prefer-stateless-function': 'error', 'react/prefer-stateless-function': [