From a541f21909c6e268d42fc8b2b18ae93d3d2953b2 Mon Sep 17 00:00:00 2001 From: Jason Grout Date: Thu, 27 Aug 2020 16:42:00 -0700 Subject: [PATCH] Downgrade eslint react/prop-types rule to warning. From https://github.com/yannickcr/eslint-plugin-react/issues/2135, it seems that this may be an error in the eslint plugin? --- .eslintrc.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.eslintrc.js b/.eslintrc.js index 5968d6778881..dc26cd3efd22 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -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: {