From a06831d52c412147bd1bd590095482df49bcbea9 Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Sat, 22 Oct 2016 01:03:16 -0700 Subject: [PATCH] =?UTF-8?q?[eslint=20config]=20[patch]=20set=20`react/no-u?= =?UTF-8?q?nused-prop-types`=20to=20=E2=80=9Cwarn=E2=80=9D,=20pending=20bu?= =?UTF-8?q?gfixes.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes #1099. --- packages/eslint-config-airbnb/rules/react.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/eslint-config-airbnb/rules/react.js b/packages/eslint-config-airbnb/rules/react.js index 5f81e40c86..38b7dc25df 100644 --- a/packages/eslint-config-airbnb/rules/react.js +++ b/packages/eslint-config-airbnb/rules/react.js @@ -271,10 +271,10 @@ module.exports = { // Prevent unused propType definitions // https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/no-unused-prop-types.md - 'react/no-unused-prop-types': ['error', { + 'react/no-unused-prop-types': ['warn', { customValidators: [ ], - skipShapeProps: false, + skipShapeProps: true, }], // Require style prop value be an object or var