Skip to content

chore: fix JavaScript lint errors - #13619

Merged
kgryte merged 2 commits into
stdlib-js:developfrom
Ashutosh-1304:fix/lint-no-new-array
Jul 24, 2026
Merged

kgryte merged 2 commits into
stdlib-js:developfrom
Ashutosh-1304:fix/lint-no-new-array

Conversation

@Ashutosh-1304

Copy link
Copy Markdown
Contributor

Resolves #13616

Description

What is the purpose of this pull request?

This pull request:

  • Fixes JavaScript linting errors in lib/node_modules/@stdlib/plot/sparklines/unicode/line/lib/render.js by replacing new Array() constructor calls with array literals and push(), in compliance with the stdlib/no-new-array ESLint rule.

Related Issues

Does this pull request have any related issues?

This pull request has the following related issues:

Questions

Any questions for reviewers of this pull request?

No.

Other

Any other information relevant to this pull request? This may include screenshots, references, and/or implementation notes.

No.

Checklist

Please ensure the following tasks are completed before submitting this pull request.

AI Assistance

When authoring the changes proposed in this PR, did you use any kind of AI assistance?

  • Yes
  • No

@stdlib-js/reviewers

@Ashutosh-1304
Ashutosh-1304 requested a review from a team July 23, 2026 09:00
@stdlib-bot stdlib-bot added 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. Good First PR A pull request resolving a Good First Issue. labels Jul 23, 2026
Signed-off-by: Athan <kgryte@gmail.com>
@kgryte kgryte added difficulty: 1 Low degree of difficulty. Should be straightforward to implement and/or resolve. review: 5 and removed Needs Review A pull request which needs code review. labels Jul 24, 2026
@stdlib-bot

Copy link
Copy Markdown
Contributor

Coverage Report

Package Statements Branches Functions Lines
plot/sparklines/unicode/line $\\color{green}847/847$
$\\color{green}+100.00\\%$
$\\color{green}103/103$
$\\color{green}+100.00\\%$
$\\color{green}9/9$
$\\color{green}+100.00\\%$
$\\color{green}847/847$
$\\color{green}+100.00\\%$

The above coverage report was generated for the changes in this PR.

@kgryte kgryte changed the title chore: fix JavaScript lint errors (issue #13616) chore: fix JavaScript lint errors Jul 24, 2026
@kgryte
kgryte merged commit ccaf46f into stdlib-js:develop Jul 24, 2026
46 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

difficulty: 1 Low degree of difficulty. Should be straightforward to implement and/or resolve. 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. review: 5

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix JavaScript lint errors

3 participants