Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.8k
feat(eslint-plugin): add new rule no-for-in-array#155
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Uh oh!
There was an error while loading.Please reload this page.
@armano2 How would I test line 38 in the rule? It's not a case that would ever really get hit if |
hmm, in most cases nodes are present, and i think you should remove this if. we have cases of nodes not from TS, and "broken" parts of code like |
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Thanks for contributing! A few small suggestions/questions:
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
@uniqueiniquity I think the confusion over the .md formatting has been resolved now, things should be easier once this is brought up to date with master Thanks! |
Codecov Report
@@ Coverage Diff @@## master #155 +/- ##==========================================+ Coverage 96.75% 96.76% +0.01%========================================== Files 52 53 +1 Lines 2462 2472 +10 Branches 370 370 ==========================================+ Hits 2382 2392 +10 Misses 40 40 Partials 40 40
|
Adding equivalent of TSLint's
no-for-in-array
.