Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no-unbound-method: referencing methods that are bound in constructor should be ok #105

Closed
unstubbable opened this issue Jul 7, 2017 · 1 comment

Comments

@unstubbable
Copy link

unstubbable commented Jul 7, 2017

In #63 it was mentioned that a rule such as no-unbound-method should check for methods that are bound in the constructor (e.g. this.handleClick = this.handleClick.bind(this);) to avoid false positives. Although #63 was closed with the introduction of no-unbound-method this case does not seem to be implemented.

@unstubbable
Copy link
Author

unstubbable commented Jul 7, 2017

Oops, wrong repo, will try again. ... See palantir/tslint#3016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant