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

fix padding_test.ts & 'for .. in' to 'for .. of' #2388

Merged
merged 1 commit into from
Nov 15, 2019

Conversation

karikera
Copy link
Contributor

@karikera karikera commented Nov 13, 2019

'for .. in' to 'for .. of' for Array

padding_test.ts
fix the test about dataFormat


This change is Reviewable

padding_test.ts
fix the test about dataFormat
Copy link
Contributor

@dsmilkov dsmilkov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Is there a lint rule we can add in tslint to detect this automatically?

Reviewed 3 of 3 files at r1.
Reviewable status: :shipit: complete! 1 of 1 approvals obtained (waiting on @dsmilkov)

@dsmilkov
Copy link
Contributor

I just found there is such a rule. Feel free to enable it in a new PR: https://palantir.github.io/tslint/rules/no-for-in-array/

@dsmilkov dsmilkov merged commit fa00e25 into tensorflow:master Nov 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants