Skip to content

Fix JavaScript lint errors #8377

@stdlib-bot

Description

@stdlib-bot

JavaScript Linting Failures

Linting failures were detected in the automated JavaScript lint workflow run.

Workflow Details

Error Details

make[1]: Entering directory '/home/runner/work/stdlib/stdlib'

Linting file: lib/node_modules/@stdlib/assert/is-circular-array/examples/index.js

Linting file: lib/node_modules/@stdlib/_tools/pkgs/toposort/examples/index.js

Oops! Something went wrong! :(

ESLint: 8.57.1

Error: unexpected error. Failed to sort packages. Detected the following dependency chain containing a cycle: `@stdlib/ndarray/dtype-ctor -> @stdlib/ndarray/base/bytes-per-element -> @stdlib/ndarray/dtypes -> @stdlib/ndarray/base/dtype-objects -> @stdlib/ndarray/dtype-ctor -> @stdlib/ndarray/base/assert/is-data-type-string -> @stdlib/array/base/assert/contains -> @stdlib/array/base/accessor-getter`.
  at sort (/home/runner/work/stdlib/stdlib/lib/node_modules/@stdlib/_tools/pkgs/toposort/lib/sort.js:111:9)
  at onPkgs (/home/runner/work/stdlib/stdlib/lib/node_modules/@stdlib/_tools/pkgs/toposort/lib/async.js:92:11)
  at onGlob (/home/runner/work/stdlib/stdlib/lib/node_modules/@stdlib/_tools/pkgs/names/lib/async.js:98:3)
  at f (/home/runner/work/stdlib/stdlib/node_modules/once/once.js:25:25)
  at Glob.<anonymous> (/home/runner/work/stdlib/stdlib/node_modules/glob/glob.js:148:7)
  at Glob.emit (node:events:524:28)
  at Glob._finish (/home/runner/work/stdlib/stdlib/node_modules/glob/glob.js:194:8)
  at next (/home/runner/work/stdlib/stdlib/node_modules/glob/glob.js:213:12)
  at /home/runner/work/stdlib/stdlib/node_modules/glob/glob.js:245:9
  at /home/runner/work/stdlib/stdlib/node_modules/fs.realpath/index.js:37:7
Linting failed.

Linting file: lib/node_modules/@stdlib/array/base/cuevery-by-right/examples/index.js

Linting file: lib/node_modules/@stdlib/blas/ext/base/sdsnansum/examples/index.js

Linting file: lib/node_modules/@stdlib/assert/is-domain-name/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>".

Metadata

Metadata

Assignees

No one assigned

    Labels

    Good First IssueA good first issue for new contributors!status: BlockedIssue or pull request which is currently blocked.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions