Skip to content

chore: fix JavaScript lint errors#13631

Merged
kgryte merged 1 commit into
stdlib-js:developfrom
mantrapatel05:fix/javascript-lint-13114
Jul 24, 2026
Merged

chore: fix JavaScript lint errors#13631
kgryte merged 1 commit into
stdlib-js:developfrom
mantrapatel05:fix/javascript-lint-13114

Conversation

@mantrapatel05

Copy link
Copy Markdown
Contributor

Description

Replaced new Array(n) with array literals + .push() in benchmark.js to fix the stdlib/no-new-array ESLint errors (14 instances).

Related Issues

resolves #13114

@mantrapatel05
mantrapatel05 requested a review from a team July 23, 2026 16:10
@stdlib-bot stdlib-bot added Statistics Issue or pull request related to statistical functionality. Needs Review A pull request which needs code review. Good First PR A pull request resolving a Good First Issue. labels Jul 23, 2026
@stdlib-bot

Copy link
Copy Markdown
Contributor

Coverage Report

Package Statements Branches Functions Lines
stats/chi2gof $\\color{red}955/983$
$\\color{green}+97.15\\%$
$\\color{red}103/114$
$\\color{green}+90.35\\%$
$\\color{red}13/15$
$\\color{green}+86.67\\%$
$\\color{red}955/983$
$\\color{green}+97.15\\%$

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

@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
@kgryte kgryte changed the title chore: fix JavaScript lint errors (issue #13114) chore: fix JavaScript lint errors Jul 24, 2026
@kgryte
kgryte merged commit 07ac89a into stdlib-js:develop Jul 24, 2026
134 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. Good First PR A pull request resolving a Good First Issue. review: 5 Statistics Issue or pull request related to statistical functionality.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix JavaScript lint errors

3 participants