Skip to content

Fix JavaScript lint errors #8282

@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/math/array/tools/unary-factory/examples/index.js
sin(-0.24382) = -0.24141
sin(0.87444) = 0.76719
sin(-0.82875) = -0.73709
sin(-0.40086) = -0.39021
sin(-0.87509) = -0.76760
sin(-0.11748) = -0.11721
sin(0.05373) = 0.05370
sin(0.42480) = 0.41213
sin(0.94853) = 0.81256
sin(0.53124) = 0.50660

Linting file: lib/node_modules/@stdlib/stats/base/dists/hypergeometric/kurtosis/examples/index.js

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

Linting file: lib/node_modules/@stdlib/fs/read-file/examples/index.js

/home/runner/work/stdlib/stdlib/lib/node_modules/@stdlib/fs/read-file/examples/index.js
35:1  error  Displayed return value is `true`, but expected `false` instead  stdlib/doctest

✖ 1 problem (1 error, 0 warnings)
1 error and 0 warnings potentially fixable with the `--fix` option.

Linting failed.
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!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions