Fix JavaScript lint errors
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 78/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Quiet
- Tech stack
- javascript
- Domain
- tooling
Research direction
Start with lib/node_modules/@stdlib/ndarray/slice-to/test/test.js at lines 637-641 and 669-673, where the JavaScript lint workflow reports ten stdlib/line-closing-bracket-spacing errors. Run the JavaScript lint workflow or ESLint for this file, then confirm the lint-javascript-files target completes without errors.
Written by the indexing model from the issue text.
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/26068348652
- Type: JavaScript Linting
- Date: 2026-05-19 00:32:17 UTC
Error Details
make[1]: Entering directory '/home/runner/work/stdlib/stdlib'
Linting file: lib/node_modules/@stdlib/stats/strided/meankbn/test/test.meankbn.js
Linting file: lib/node_modules/@stdlib/random/array/chi/test/test.js
Linting file: lib/node_modules/@stdlib/math/base/special/absf/test/test.native.js
Linting file: lib/node_modules/@stdlib/stats/base/dists/laplace/logcdf/test/test.logcdf.js
Linting file: lib/node_modules/@stdlib/error/reviver/test/test.ctors.js
Linting file: lib/node_modules/@stdlib/blas/base/wasm/saxpy/test/test.module.ndarray.js
Linting file: lib/node_modules/@stdlib/dstructs/named-typed-tuple/test/test.copy_within.js
Linting file: lib/node_modules/@stdlib/blas/ext/base/dsort2hp/test/test.dsort2hp.js
Linting file: lib/node_modules/@stdlib/ndarray/slice-to/test/test.js
/home/runner/work/stdlib/stdlib/lib/node_modules/@stdlib/ndarray/slice-to/test/test.js
637:3 error No spaces allowed between a closing parenthesis or bracket and a nested object or array expression at the beginning of a line stdlib/line-closing-bracket-spacing
638:3 error No spaces allowed between a closing parenthesis or bracket and a nested object or array expression at the beginning of a line stdlib/line-closing-bracket-spacing
639:3 error No spaces allowed between a closing parenthesis or bracket and a nested object or array expression at the beginning of a line stdlib/line-closing-bracket-spacing
640:3 error No spaces allowed between a closing parenthesis or bracket and a nested object or array expression at the beginning of a line stdlib/line-closing-bracket-spacing
641:3 error No spaces allowed between a closing parenthesis or bracket and a nested object or array expression at the beginning of a line stdlib/line-closing-bracket-spacing
669:3 error No spaces allowed between a closing parenthesis or bracket and a nested object or array expression at the beginning of a line stdlib/line-closing-bracket-spacing
670:3 error No spaces allowed between a closing parenthesis or bracket and a nested object or array expression at the beginning of a line stdlib/line-closing-bracket-spacing
671:3 error No spaces allowed between a closing parenthesis or bracket and a nested object or array expression at the beginning of a line stdlib/line-closing-bracket-spacing
672:3 error No spaces allowed between a closing parenthesis or bracket and a nested object or array expression at the beginning of a line stdlib/line-closing-bracket-spacing
673:3 error No spaces allowed between a closing parenthesis or bracket and a nested object or array expression at the beginning of a line stdlib/line-closing-bracket-spacing
✖ 10 problems (10 errors, 0 warnings)
10 errors and 0 warnings potentially fixable with the `--fix` option.
Linting failed.
Linting file: lib/node_modules/@stdlib/stats/strided/dvariancech/test/test.dvariancech.js
Linting file: lib/node_modules/@stdlib/stats/strided/distances/deuclidean/test/test.js
Linting file: lib/node_modules/@stdlib/array/float32/test/test.js
Linting file: lib/node_modules/@stdlib/blas/ext/base/sdsnansumpw/test/test.js
Linting file: lib/node_modules/@stdlib/math/base/special/modf/test/test.assign.js
Linting file: lib/node_modules/@stdlib/_tools/eslint/rules/jsdoc-heading-style/test/fixtures/valid.js
Linting file: lib/node_modules/@stdlib/stats/strided/nanmean/test/test.ndarray.js
Linting file: lib/node_modules/@stdlib/stats/strided/smean/test/test.smean.native.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>".
- Dominant language
- JavaScript
- Stars
- 6k
- Forks
- 1.3k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 559
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from stdlib-js/stdlib
-
Good First Issue
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
-
Good First Issue
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Good First Issue
Difficulty 1/5 Under an hour Newbie friendliness 88/100
-
Good First Issue
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
All issues in stdlib-js/stdlib
Similar issues
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 90/100
apache/cloudstack#14222 ·
-
Browser Waiting for: Product Owner
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
getsentry/sentry-javascript#24577 · 1 comment ·
-
curation good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
amponce/archive-movie-browser#186 ·
-
light
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
aemdemos/patients-stryker#253 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
clerk/javascript#9852 ·