no-unused-prop-types fails on readonly flow types #1388
Closed
Description
opened on Aug 22, 2017
If your Props type definition is:
type Props = {
+prop1: ?number,
+prop2: number,
};
The rule will provide the warnings:
warning '+' PropType is defined but prop is never used react/no-unused-prop-types
Activity