[eslint config] [patch] set react/no-unused-prop-types to “warn”, pending bugfixes.

Closes #1099.
This commit is contained in:
Jordan Harband
2016-10-22 01:03:16 -07:00
parent 0bb3eb5412
commit a06831d52c

View File

@@ -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