Skip to content

chore: fix JavaScript lint errors (issue #9867)#10730

Closed
travisbreaks wants to merge 1 commit intostdlib-js:developfrom
travisbreaks:fix/issue-9867
Closed

chore: fix JavaScript lint errors (issue #9867)#10730
travisbreaks wants to merge 1 commit intostdlib-js:developfrom
travisbreaks:fix/issue-9867

Conversation

@travisbreaks
Copy link
Copy Markdown
Contributor

Description

Replace new Array( x.length ) with an empty array literal and push in @stdlib/plot/components/svg/path/lib/render/utils/zip.js to satisfy the stdlib/no-new-array lint rule.

Related Issues

Resolves #9867

Checklist

AI Assistance

  • Yes

  • No

  • Code generation (e.g., when writing an implementation or fixing a bug)

  • Test/benchmark generation

  • Documentation (including examples)

  • Research and understanding

Co-authored-by: Egger egger@horny-toad.com

Replace `new Array( x.length )` with an array literal and `push` in
`@stdlib/plot/components/svg/path/lib/render/utils/zip.js` to satisfy
the `stdlib/no-new-array` lint rule.

Resolves stdlib-js#9867

Co-authored-by: Egger <egger@horny-toad.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@stdlib-bot stdlib-bot added Good First PR A pull request resolving a Good First Issue. First-time Contributor A pull request from a contributor who has never previously committed to the project repository. Needs Review A pull request which needs code review. Potential Duplicate There might be another pull request resolving the same issue. labels Mar 6, 2026
Copy link
Copy Markdown
Member

@Planeshifter Planeshifter left a comment

Choose a reason for hiding this comment

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

Thank you!

@Planeshifter Planeshifter added the Ready To Merge A pull request which is ready to be merged. label Mar 6, 2026
@stdlib-bot stdlib-bot removed the Needs Review A pull request which needs code review. label Mar 6, 2026
@stdlib-bot
Copy link
Copy Markdown
Contributor

stdlib-bot commented Mar 6, 2026

PR Commit Message

chore: fix JavaScript lint errors

PR-URL: https://github.com/stdlib-js/stdlib/pull/10730
Closes: https://github.com/stdlib-js/stdlib/issues/9867

Assisted-by: Claude Opus 4.6 <noreply@anthropic.com>
Assisted-by: Egger <egger@horny-toad.com>
Reviewed-by: Philipp Burckhardt <pburckhardt@outlook.com>

Please review the above commit message and make any necessary adjustments.

@Planeshifter
Copy link
Copy Markdown
Member

Ended up merging #9872 instead as it was opened way earlier. Thanks for opening PRs!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

First-time Contributor A pull request from a contributor who has never previously committed to the project repository. Good First PR A pull request resolving a Good First Issue. Potential Duplicate There might be another pull request resolving the same issue. Ready To Merge A pull request which is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix JavaScript lint errors

3 participants