Skip to content

Conversation

satyam73
Copy link
Contributor

@satyam73 satyam73 commented Apr 28, 2025

This PR will add the eslint rule to disallow using the for of loops across the codebase

Why is this Pull Request needed?

This pull request is being created with reference to this conversation as below where we discussed that it will be better that we setup this eslint rule so that it automatically gives error for using for of loops, maintaining code consistency.

Are there any points in the code the reviewer needs to double check?

I have updated at once place where for of loop was being used and I have replace it with forEach so we can check that part once.

Resolves issues:

Checklist

  • changes have been done against master branch, and PR does not conflict
  • new unit / functional tests have been added (whenever applicable)
  • API or design changes are documented in API.md

@robwalch robwalch added this to the 1.6.3 milestone Apr 28, 2025
@robwalch robwalch merged commit 9d58abc into video-dev:master Apr 28, 2025
12 checks passed
@satyam73
Copy link
Contributor Author

satyam73 commented Apr 29, 2025

Thanks @robwalch for quickly looking and merging the PR.
Please do let me know if there's anything in your mind which I can take up(refactors, bugs, improvements or features), would be happy contributing to that.

Will look forward to making more contributions here😊

@robwalch
Copy link
Collaborator

Thank you @satyam73,

You can see some of the planned work in the release and backlog project (HLS.js Release Planning and Backlog (view)) or in the milestones. There is a lot unplanned work in issues. For contributions, I'm most interested in what problems you face using hls.js and what solutions would benefit you and other users. If instead you are looking for more dependency related issues that touch more of the workflow, there is (it could be very simple or very difficult as the mock XHR interface in sinon can be tricky and we don't want to loose any coverage):

@satyam73
Copy link
Contributor Author

You can see some of th

Sure will look into these and let you know, thanks for guiding and helping

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

2 participants