Repository navigation
Fix JavaScript lint errors #15995
Copy link
Copy link
Open
Labels
Good First IssueA good first issue for new contributors!A good first issue for new contributors!
Description
JavaScript Linting Failures
Linting failures were detected in the automated JavaScript lint workflow run.
Workflow Details
- Run: https://github.com/stdlib-js/stdlib/actions/runs/37862817489
- Type: JavaScript Linting
- Date: 2026-10-09 00:21:12 UTC
Error Details
make[1]: Entering directory '/home/runner/work/stdlib/stdlib'
Linting file: lib/node_modules/@stdlib/strided/base/mskunary-dtype-signatures/examples/index.js
Linting file: lib/node_modules/@stdlib/math/base/special/hacoversin/examples/index.js
hacoversin(4.9631) = 0.9844
hacoversin(6.0915) = 0.5953
hacoversin(2.3838) = 0.1563
hacoversin(3.5994) = 0.7210
hacoversin(3.9334) = 0.8558
hacoversin(4.7448) = 0.9997
hacoversin(5.1497) = 0.9529
hacoversin(1.6682) = 0.0024
hacoversin(0.9702) = 0.0875
hacoversin(2.0651) = 0.0598
hacoversin(4.9790) = 0.9823
hacoversin(0.2761) = 0.3637
hacoversin(2.2398) = 0.1078
hacoversin(4.6990) = 1.0000
hacoversin(3.3736) = 0.6150
hacoversin(3.1808) = 0.5196
hacoversin(2.8966) = 0.3787
hacoversin(5.3726) = 0.8949
hacoversin(4.7160) = 1.0000
hacoversin(4.6493) = 0.9990
hacoversin(0.4832) = 0.2677
hacoversin(1.1713) = 0.0394
hacoversin(2.8105) = 0.3375
hacoversin(0.0741) = 0.4630
hacoversin(2.5215) = 0.2095
hacoversin(0.4443) = 0.2851
hacoversin(4.5035) = 0.9891
hacoversin(0.6089) = 0.2140
hacoversin(4.8935) = 0.9918
hacoversin(5.9872) = 0.6458
hacoversin(3.9654) = 0.8669
hacoversin(3.3019) = 0.5798
hacoversin(4.8485) = 0.9954
hacoversin(0.5405) = 0.2427
hacoversin(6.2092) = 0.5370
hacoversin(5.0322) = 0.9747
hacoversin(3.7708) = 0.7942
hacoversin(1.5192) = 0.0007
hacoversin(4.5165) = 0.9904
hacoversin(1.7460) = 0.0077
hacoversin(3.7184) = 0.7727
hacoversin(5.2053) = 0.9405
hacoversin(2.8731) = 0.3674
hacoversin(3.0559) = 0.4572
hacoversin(2.2995) = 0.1270
hacoversin(3.4303) = 0.6424
hacoversin(5.4823) = 0.8590
hacoversin(6.0463) = 0.6173
hacoversin(0.4725) = 0.2724
hacoversin(1.4445) = 0.0040
hacoversin(2.3439) = 0.1421
hacoversin(2.2626) = 0.1149
hacoversin(5.3407) = 0.9045
hacoversin(2.9927) = 0.4258
hacoversin(4.6062) = 0.9972
hacoversin(1.0390) = 0.0690
hacoversin(4.9675) = 0.9838
hacoversin(5.4632) = 0.8656
hacoversin(5.3684) = 0.8962
hacoversin(1.4348) = 0.0046
hacoversin(5.5746) = 0.8254
hacoversin(0.3673) = 0.3204
hacoversin(2.2574) = 0.1133
hacoversin(0.4486) = 0.2831
hacoversin(6.1734) = 0.5548
hacoversin(3.4676) = 0.6601
hacoversin(3.5501) = 0.6986
hacoversin(2.8600) = 0.3611
hacoversin(0.5492) = 0.2390
hacoversin(3.3447) = 0.6008
hacoversin(3.0352) = 0.4469
hacoversin(0.2862) = 0.3588
hacoversin(1.8810) = 0.0239
hacoversin(3.7737) = 0.7954
hacoversin(0.9810) = 0.0845
hacoversin(3.4551) = 0.6542
hacoversin(5.1488) = 0.9531
hacoversin(5.6793) = 0.7839
hacoversin(0.1816) = 0.4097
hacoversin(5.2427) = 0.9313
hacoversin(0.6476) = 0.1984
hacoversin(2.1697) = 0.0870
hacoversin(1.6671) = 0.0023
hacoversin(5.2957) = 0.9173
hacoversin(2.9969) = 0.4279
hacoversin(6.1255) = 0.5785
hacoversin(5.9500) = 0.6635
hacoversin(4.0448) = 0.8927
hacoversin(2.4147) = 0.1677
hacoversin(0.4505) = 0.2823
hacoversin(1.6139) = 0.0005
hacoversin(6.0192) = 0.6305
hacoversin(5.8173) = 0.7246
hacoversin(4.1792) = 0.9306
hacoversin(3.8824) = 0.8375
hacoversin(6.0319) = 0.6243
hacoversin(3.6188) = 0.7296
hacoversin(4.7912) = 0.9984
hacoversin(5.7891) = 0.7371
hacoversin(3.2491) = 0.5537
Linting file: lib/node_modules/@stdlib/math/iter/special/floor10/examples/index.js
Linting file: lib/node_modules/@stdlib/math/base/tools/evalrational-compile/examples/index.js
/home/runner/work/stdlib/stdlib/lib/node_modules/@stdlib/math/base/tools/evalrational-compile/examples/index.js
23:18 error Last `require` statement in example files must be a relative path stdlib/require-last-path-relative
✖ 1 problem (1 error, 0 warnings)
Linting failed.
Linting file: lib/node_modules/@stdlib/constants/float64/ln-two/examples/index.js
Linting file: lib/node_modules/@stdlib/stats/strided/smaxabs/examples/index.js
Linting file: lib/node_modules/@stdlib/stats/base/snanvarianceyc/examples/index.js
make[1]: *** [/home/runner/work/stdlib/stdlib/tools/make/lib/lint/javascript/eslint.mk:261: eslint-files] Error 1
make[1]: Leaving directory '/home/runner/work/stdlib/stdlib'
make: *** [/home/runner/work/stdlib/stdlib/tools/make/lib/lint/javascript/Makefile:158: lint-javascript-files] Error 2
Pull Request Instructions
- Please use the following PR title format:
"chore: fix JavaScript lint errors (issue #<ISSUE_NUMBER>)". - Reference this issue in the "Related Issues" section of the PR body as "resolves #<ISSUE_NUMBER>".
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Good First IssueA good first issue for new contributors!A good first issue for new contributors!
Activity
stdlib-bot commentedon Oct 9, 2026
👋 Important: PLEASE READ 👋
This issue has been labeled as a good first issue and is available for anyone to work on.
If this is your first time contributing to an open source project, some aspects of the development process may seem unusual, arcane, or some combination of both.
Before working on this issue and opening a pull request, please read the project's contributing guidelines. These guidelines and the associated development guide provide important information, including links to stdlib's Code of Conduct, license policy, and steps for setting up your local development environment.
To reiterate, we strongly encourage you to refer to our contributing guides before beginning work on this issue. Failure to follow our guidelines significantly decreases the likelihood that you'll successfully contribute to stdlib and may result in automatic closure of a pull request without review.
Setting up your local development environment is a critical first step, as doing so ensures that automated development processes for linting, license verification, and unit testing can run prior to authoring commits and pushing changes. If you would prefer to avoid manual setup, we provide pre-configured development containers for use locally or in GitHub Codespaces.
We place a high value on consistency throughout the stdlib codebase. We encourage you to closely examine other packages in stdlib and attempt to emulate the practices and conventions found therein.
In short, the more effort you put in to ensure that your contribution looks and feels like stdlib—including variables names, bracket spacing, line breaks, etc—the more likely that your contribution will be reviewed and ultimately accepted. We encourage you to closely study the codebase before beginning work on this issue.
✨ Thank you again for your interest in stdlib, and we look forward to reviewing your future contributions. ✨
CoDe-ReDz commentedon Oct 9, 2026
Working on this!
anithawork2101-dotcom commentedon Oct 9, 2026
Hi! I'd like to contribute to this issue as my first contribution to stdlib. I'll review the reported lint errors and check the contribution guidelines before submitting a fix.