Skip to content
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.

no-unbound-method should (optionally) ignore static methods #2651

Closed
sebek64 opened this issue Apr 28, 2017 · 1 comment · Fixed by #2751 or singapore/lint-condo#304
Closed

no-unbound-method should (optionally) ignore static methods #2651

sebek64 opened this issue Apr 28, 2017 · 1 comment · Fixed by #2751 or singapore/lint-condo#304

Comments

@sebek64
Copy link

sebek64 commented Apr 28, 2017

Feature request

It is usually not a big problem to reference static method. For a good example, angular Validators.required (and other non-dynamic validators) is usually referenced as a value. It'd be nice if it would be possible to activate this rule just for non-static methods (etiher by config option, or make it default).

@amatiasq
Copy link

Another example are Math methods
screenshot

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
3 participants