eslint-plugin-sonarjs icon indicating copy to clipboard operation
eslint-plugin-sonarjs copied to clipboard

Exclude constructors from sonarjs/no-identical-functions

Open sfabriece opened this issue 4 years ago • 1 comments

I want to request a feature.

Sometimes, we can have identical constructors for different functionality. As far as I know, we can't abstract the parameters of a constructor.

It would be great if there was an option to exclude constructors from sonarjs/no-identical-functions

sfabriece avatar Jan 12 '21 14:01 sfabriece

Hi,

Sorry for a big delay. Could you share an example of the case you believe should not be reported?

vilchik-elena avatar Feb 15 '22 08:02 vilchik-elena

This issue has been migrated to Jira. ESLINTJS-10

Wohops avatar Apr 29 '24 08:04 Wohops