Open
Description
Hi - a common source of false-positives in our CC duplication results comes from React's propType structures. For example:
propTypes: {
playBtnState: React.PropTypes.string.isRequired,
height: React.PropTypes.number.isRequired,
drawBack: React.PropTypes.bool
},
is a 'duplicate' of:
propTypes: {
clipStore: React.PropTypes.object.isRequired,
firstClipId: React.PropTypes.number.isRequired,
includeDetails: React.PropTypes.bool
},
Can the engine be improved to avoid this, or is there anything we can do in our codebase that would help? Excluding each fingerprint on a case-by-case basis is getting tiresome.