Browse Source

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?
Jason Grout 4 years ago
parent
commit
7e71d98b0b
1 changed files with 2 additions and 1 deletions
  1. 2 1
      .eslintrc.js

+ 2 - 1
.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: {