Skip to content

fix jsx-no-bind to address any function binding (not just methods) #252

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

Closed
wants to merge 1 commit into from
Closed

Conversation

amir-arad
Copy link

I've encountered a code that contains function binding of the form: < ... onConfirm={execute.bind(null, someProp)} >
IMO jsx-no-bind should alert on this

@palantirtech
Copy link
Member

Thanks for your interest in palantir/tslint-react, @amir-arad! Before we can accept your pull request, you need to sign our contributor license agreement - just visit https://cla.palantir.com/ and follow the instructions. Once you sign, I'll automatically update this pull request.

@adidahiya
Copy link
Contributor

Sorry, tslint-react is deprecated and I'm not accepting any new features / enhancements: #210. Look into eslint-plugin-react instead.

@adidahiya adidahiya closed this Aug 18, 2020
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

Successfully merging this pull request may close these issues.

3 participants