Closed
Description
Hi everyone, and thanks for all the great work on this plugin.
It would be nice if explicit-function-return-type
would allow a way to set specific functions/methods to ignore for this check.
I don't think it makes a lot of sense to declare types on React lifecycle methods, like render
or componentDidMount
.
These methods probably shouldn't be ignored by eslint-plugin
itself, but maybe it could provide an escape hatch for other plugins to use?
Right now the only 2 options available for this rule still do not allow to do this.
Thanks.