-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
feat(no-in-array): Disallow using in operator for arrays #5851
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
Conversation
I rewrite it again after one month, and i figured out that the last clone is outdated and i cloned the latest repo and just copied & pasted the file. Because of that there is no history available for this project.
Unnecessary Information Removed Co-authored-by: Josh Goldberg <git@joshuakgoldberg.com>
Rule Is Now Off By Default Co-authored-by: Josh Goldberg <git@joshuakgoldberg.com>
My bad!😱 Co-authored-by: Josh Goldberg <git@joshuakgoldberg.com>
This option is unneeded because users can simply turn off the rule
Support for literal method names & better error message for computed and non-computed method names.
Thanks for the PR, @mahdi-farnia! typescript-eslint is a 100% community driven project, and we are incredibly grateful that you are contributing to that community. The core maintainers work on this in their personal time, so please understand that it may not be possible for them to review your work immediately. Thanks again! 🙏 Please, if you or your company is finding typescript-eslint valuable, help us sustain the project by sponsoring it transparently on https://opencollective.com/typescript-eslint. As a thank you, your profile/company logo will be added to our main README which receives thousands of unique visitors per day. |
✅ Deploy Preview for typescript-eslint ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
I have opened another pull request here: #5848 And that PR history comes here too! (I'm not really experienced using github & git) This shouldn't cause a problem. (should it?) |
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #5851 +/- ##
=======================================
Coverage 91.35% 91.35%
=======================================
Files 361 363 +2
Lines 12024 12066 +42
Branches 3499 3513 +14
=======================================
+ Hits 10984 11023 +39
Misses 743 743
- Partials 297 300 +3
Flags with carried forward coverage won't be shown. Click here to find out more.
|
We don't mind messy Git histories! The commits all get squash merged down to a single merge commit anyway. Git can be excruciatingly difficult system to use for new developers; requiring rewriting history for clean commits is IMO an exclusionary practice. Can you just delete the unrelated files from this branch? Each PR should only have files that relate to it. |
Also, sorry for the redirect @mahdi-farnia - we realized later on that |
PR Checklist
Overview
Before:
Error expected because
in
operator can't be used for checking array values.After:
Closes: #5474