Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

ReactThisBindingIssueRule should use Sets on the inside #535

Closed
JoshuaKGoldberg opened this issue Oct 9, 2018 · 1 comment
Closed

ReactThisBindingIssueRule should use Sets on the inside #535

JoshuaKGoldberg opened this issue Oct 9, 2018 · 1 comment
Labels
Difficulty: Easy Someone with little to no experience in TSLint should be able to send a pull request for this issue. Good First Issue 🙌 Howdy, neighbor! Status: Accepting PRs
Milestone

Comments

@JoshuaKGoldberg
Copy link

https://node.green/#ES2015-built-ins-Set

Sets have been supported in Node for quite some time. It'd be a bit more clear and efficient on super long files to use them instead of arrays for the internal members.

Not a huge priority (functionality shouldn't change), and should come after #534 is merged.

@JoshuaKGoldberg JoshuaKGoldberg added Status: Accepting PRs Good First Issue 🙌 Howdy, neighbor! Difficulty: Easy Someone with little to no experience in TSLint should be able to send a pull request for this issue. Hacktoberfest labels Oct 9, 2018
@cyberhck
Copy link
Contributor

cyberhck commented Oct 10, 2018

Do you mean for private properties? Where we store the data?
Is that supposed to contain everything? If so, how about the data types? Will there be no types? Or we create separate sets for separate type of data? I want to take a stab on this issue after that's merged 🙂

And is it only for reactThisBindingIssue? or everywhere?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Difficulty: Easy Someone with little to no experience in TSLint should be able to send a pull request for this issue. Good First Issue 🙌 Howdy, neighbor! Status: Accepting PRs
Projects
None yet
Development

No branches or pull requests

2 participants