Add require option for require-jsdoc
to support constant exports for HoC
#1144
Labels
require-jsdoc
to support constant exports for HoC
#1144
Motivation
Our codebase uses HoC (i.e. mobx observer) exports for our components, and we'd like
require-jsdoc
to properly flag a component export with no jsdoc comments:Current behavior
It doesn't trigger for this HoC pattern with these options:
Desired behavior
require-jsdoc should have an option for supporting regular assignment expressions with HoC
The text was updated successfully, but these errors were encountered: