Open
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/14048444985
- Type: JavaScript Linting
- Date: 2025-03-25 00:08:11 UTC
Error Details
make[1]: Entering directory '/home/runner/work/stdlib/stdlib'
Linting file: lib/node_modules/@stdlib/lapack/base/zlacgv/lib/index.js
Linting file: lib/node_modules/@stdlib/ndarray/base/bind2vind/lib/main.js
Linting file: lib/node_modules/@stdlib/stats/base/dists/degenerate/quantile/lib/index.js
Linting file: lib/node_modules/@stdlib/ndarray/base/every/scripts/predicate_loops.js
/home/runner/work/stdlib/stdlib/lib/node_modules/@stdlib/ndarray/base/every/scripts/predicate_loops.js
485:1 warning File has too many lines (409). Maximum allowed is 300 max-lines
✖ 1 problem (0 errors, 1 warning)
Linting file: lib/node_modules/@stdlib/stats/ztest2/lib/main.js
Linting file: lib/node_modules/@stdlib/blas/sdot/lib/index.js
Linting file: lib/node_modules/@stdlib/bench/harness/lib/harness/validate.js
Linting file: lib/node_modules/@stdlib/stats/incr/mmape/lib/main.js
Linting file: lib/node_modules/@stdlib/math/base/special/cexp/lib/main.js
Linting file: lib/node_modules/@stdlib/math/base/special/log2/scripts/precision.js
/home/runner/work/stdlib/stdlib/lib/node_modules/@stdlib/math/base/special/log2/scripts/precision.js
21:1 warning Unexpected 'todo' comment: 'TODO: clean-up' no-warning-comments
25:14 error cannot resolve module: "compute-divide" stdlib/require-file-extensions
26:12 error cannot resolve module: "compute-mean" stdlib/require-file-extensions
27:16 error cannot resolve module: "compute-subtract" stdlib/require-file-extensions
49:11 error Using the `new Array()` constructor is not allowed; use an array literal with push instead stdlib/no-new-array
50:11 error Using the `new Array()` constructor is not allowed; use an array literal with push instead stdlib/no-new-array
56:17 error Use the package `@stdlib/math/base/special/log2` instead of `Math.log2` stdlib/no-builtin-math
62:1 warning Unexpected console statement no-console
63:1 warning Unexpected console statement no-console
✖ 9 problems (6 errors, 3 warnings)
Linting failed.
Linting file: lib/node_modules/@stdlib/stats/base/dists/discrete-uniform/variance/lib/native.js
Linting file: lib/node_modules/@stdlib/math/base/special/flipsign/lib/main.js
Linting file: lib/node_modules/@stdlib/stats/incr/msumabs2/lib/index.js
Linting file: lib/node_modules/@stdlib/_tools/eslint/rules/require-spaces/lib/index.js
Linting file: lib/node_modules/@stdlib/array/to-fancy/lib/set_slice.js
Linting file: lib/node_modules/@stdlib/repl/presentation/lib/fill_line.js
Linting file: lib/node_modules/@stdlib/stats/base/dists/logistic/pdf/lib/factory.js
Linting file: lib/node_modules/@stdlib/assert/is-node-builtin/lib/index.js
Linting file: lib/node_modules/@stdlib/random/streams/chi/lib/validate.js
Linting file: lib/node_modules/@stdlib/repl/lib/set_commands.js
Linting file: lib/node_modules/@stdlib/math/base/special/hypotf/lib/index.js
Linting file: lib/node_modules/@stdlib/_tools/eslint/rules/jsdoc-no-shell-dollars/lib/index.js
Linting file: lib/node_modules/@stdlib/stats/base/nanmin/lib/ndarray.js
make[1]: *** [/home/runner/work/stdlib/stdlib/tools/make/lib/lint/javascript/eslint.mk:255: 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>".