-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Labels
accepting prsGo ahead, send a pull request that resolves this issueGo ahead, send a pull request that resolves this issueenhancement: plugin rule optionNew rule option for an existing eslint-plugin ruleNew rule option for an existing eslint-plugin rulepackage: eslint-pluginIssues related to @typescript-eslint/eslint-pluginIssues related to @typescript-eslint/eslint-plugin
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.
sinxwal, joekukish, przemyslaw-wlodek, denkristoffer, ahuglajbclajep and 10 moreanastassia-b
Metadata
Metadata
Assignees
Labels
accepting prsGo ahead, send a pull request that resolves this issueGo ahead, send a pull request that resolves this issueenhancement: plugin rule optionNew rule option for an existing eslint-plugin ruleNew rule option for an existing eslint-plugin rulepackage: eslint-pluginIssues related to @typescript-eslint/eslint-pluginIssues related to @typescript-eslint/eslint-plugin