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/14072437970
- Type: JavaScript Linting
- Date: 2025-03-26 00:08:34 UTC
Error Details
make[1]: Entering directory '/home/runner/work/stdlib/stdlib'
Linting file: lib/node_modules/@stdlib/stats/base/dists/pareto-type1/pdf/lib/factory.js
Linting file: lib/node_modules/@stdlib/plot/components/svg/axis/lib/props/tick-pos/get.js
Linting file: lib/node_modules/@stdlib/stats/base/dists/t/ctor/lib/main.js
Linting file: lib/node_modules/@stdlib/_tools/pkgs/namespace-readmes/lib/index.js
Linting file: lib/node_modules/@stdlib/array/base/mskfilter/lib/assign.js
Linting file: lib/node_modules/@stdlib/math/strided/special/smskfloor/lib/smskfloor.native.js
Linting file: lib/node_modules/@stdlib/blas/base/gscal/lib/ndarray.js
Linting file: lib/node_modules/@stdlib/blas/base/dtrsv/lib/index.js
Linting file: lib/node_modules/@stdlib/stats/base/dists/f/mean/lib/index.js
Linting file: lib/node_modules/@stdlib/datasets/sotu/lib/get_file.js
/home/runner/work/stdlib/stdlib/lib/node_modules/@stdlib/datasets/sotu/lib/get_file.js
51:58 warning Unknown word: "zalgo" @cspell/spellchecker
✖ 1 problem (0 errors, 1 warning)
Linting file: lib/node_modules/@stdlib/constants/float64/max/lib/index.js
Linting file: lib/node_modules/@stdlib/lapack/base/zrot/lib/ndarray.js
Linting file: lib/node_modules/@stdlib/plot/base/ctor/lib/main.js
/home/runner/work/stdlib/stdlib/lib/node_modules/@stdlib/plot/base/ctor/lib/main.js
248:32 warning Unexpected 'todo' comment: 'TODO: uuid' no-warning-comments
801:1 warning File has too many lines (399). Maximum allowed is 300 max-lines
1026:1 error Encountered an error while running code: `invalid format: %H:%M`.Did you mean to include a `// throws <Error>` annotation instead of `// returns <Function>`? stdlib/jsdoc-doctest
✖ 3 problems (1 error, 2 warnings)
1 error and 0 warnings potentially fixable with the `--fix` option.
Linting failed.
Linting file: lib/node_modules/@stdlib/plot/components/svg/marks/lib/validate.js
Linting file: lib/node_modules/@stdlib/stats/base/dists/lognormal/logpdf/lib/main.js
Linting file: lib/node_modules/@stdlib/number/lib/index.js
Linting file: lib/node_modules/@stdlib/stats/base/dists/t/logcdf/lib/factory.js
Linting file: lib/node_modules/@stdlib/stats/base/dists/beta/entropy/lib/native.js
Linting file: lib/node_modules/@stdlib/ndarray/base/nullary/lib/7d.js
Linting file: lib/node_modules/@stdlib/stats/base/dnanmeanwd/lib/ndarray.native.js
Linting file: lib/node_modules/@stdlib/ndarray/index/lib/cache.js
Linting file: lib/node_modules/@stdlib/stats/base/dists/betaprime/skewness/lib/native.js
Linting file: lib/node_modules/@stdlib/random/base/hypergeometric/lib/factory.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>".
Activity
stdlib-bot commentedon Mar 26, 2025
👋 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. ✨
chore: fix JavaScript lint errors stdlib-js#6383